Skip to content

Commit 40c6c8f

Browse files
fix: simplify YAML lint config (#15)
1 parent 17bd837 commit 40c6c8f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.eslintrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
"fluid",
66
"plugin:yml/standard"
77
],
8-
ignorePatterns: ["_site/", "!.*.cjs", "!.*.js"],
8+
ignorePatterns: ["_site/", "!.*.cjs", "!.*.js", "!.github/"],
99
env: {
1010
amd: true,
1111
browser: true,

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"lint:css": "stylelint \"**/*.css\"",
1414
"lint:js": "eslint \"**/*.js\"",
1515
"lint:markdown": "markdownlint-cli2 \"**/*.md\"",
16-
"lint:yml": "eslint --no-error-on-unmatched-pattern \".github/**/*.yml\" \"**/*.yml\"",
16+
"lint:yml": "eslint \"**/*.yml\"",
1717
"start": "npm-run-all -l clean -p start:*",
1818
"start:eleventy": "run-p dev cms",
1919
"prepare": "husky install"

0 commit comments

Comments
 (0)