Skip to content

Commit fd39e78

Browse files
fix: better YAML lint pattern (#9)
1 parent 47d4a35 commit fd39e78

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.github/dependabot.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@
66
version: 2
77
updates:
88
# Enable version updates for npm
9-
- package-ecosystem: "npm"
9+
- package-ecosystem: npm
1010
# Look for `package.json` and `lock` files in the `root` directory
11-
directory: "/"
11+
directory: /
1212
# Check for updates once a month
1313
schedule:
14-
interval: "monthly"
14+
interval: monthly
1515
allow:
1616
# Allow direct updates only (for packages named in package.json)
17-
- dependency-type: "direct"
17+
- dependency-type: direct
1818
# Enable version updates for npm
1919
- package-ecosystem: github-actions
2020
# Look for `package.json` and `lock` files in the `root` directory
21-
directory: "/"
21+
directory: /
2222
# Check for updates once a month
2323
schedule:
24-
interval: "monthly"
24+
interval: monthly

.github/workflows/docker.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker build
22

33
on:
44
pull_request:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
docker:

.github/workflows/lint-build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Lint and build
22

33
on:
44
pull_request:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
lint-build:

.github/workflows/release-please.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish release
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66

77
jobs:
88
release-please:

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 \"**/*.yml\"",
16+
"lint:yml": "eslint --no-error-on-unmatched-pattern \".github/**/*.yml\" \"**/*.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)