-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Aligned dotfiles & default repository files with core metalsmith plugins
- Loading branch information
Showing
13 changed files
with
86 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
|
||
[*.{js,json}] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
env: | ||
node: true | ||
es6: true | ||
extends: | ||
- 'eslint:recommended' | ||
- 'prettier' | ||
parserOptions: | ||
ecmaVersion: 2017 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
node_modules | ||
node_modules | ||
.nyc_output | ||
coverage.info | ||
test/fixtures/*/build | ||
*.tgz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package-lock.json = false | ||
sign-git-tag = true | ||
message = Bump package.json to %s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
package-lock.json | ||
package.json | ||
test/fixtures/** | ||
.nyc_output/** |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
trailingComma: none | ||
tabWidth: 2 | ||
semi: false | ||
singleQuote: true | ||
bracketSpacing: true | ||
arrowParens: always | ||
printWidth: 120 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"hooks": { | ||
"before:init": ["npm run lint", "npm test"], | ||
"after:bump": "auto-changelog --sort-commits date -p --starting-date 2021-12-01 --commit-limit false --ignore-commit-pattern '(skip changelog|Release)'", | ||
"after:npm:bump": "npm pack", | ||
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}." | ||
}, | ||
"git": { | ||
"commitMessage": "Release ${version}", | ||
"commitArgs": ["-S"], | ||
"tagAnnotation": "Release ${version}", | ||
"tagArgs": ["-s"], | ||
"changelog": "auto-changelog --sort-commits date -u --starting-date 2021-12-01 --commit-limit false --ignore-commit-pattern '(skip changelog|Release)' --stdout" | ||
}, | ||
"npm": { | ||
"publish": false | ||
}, | ||
"github": { | ||
"release": true, | ||
"releaseName": "@metalsmith/markdown ${version}", | ||
"tokenRef": "GITHUB_TOKEN", | ||
"assets": ["metalsmith-markdown-${version}.tgz"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
language: node_js | ||
dist: xenial | ||
|
||
node_js: | ||
- node | ||
- 16 | ||
- 12 | ||
- 8 | ||
|
||
os: | ||
- linux | ||
- windows | ||
|
||
jobs: | ||
include: | ||
- name: lint | ||
script: npm run lint | ||
- name: coveralls | ||
script: npm run test && npm run coveralls | ||
|
||
script: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters