Skip to content

Commit ec75bdc

Browse files
committed
Allow lint fix to work, add prettier scripts (prettier already present, and thus already running in editors)
1 parent e2ab3d4 commit ec75bdc

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ module.exports = [
230230
{
231231
ignores: [
232232
'coverage/',
233-
'node_modules/',
233+
'node_modules/**',
234234
'lib/recommended-rules.js',
235235
'lib/recommended-rules-gjs.js',
236236
'lib/recommended-rules-gts.js',

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,13 @@
4444
"lint:eslint-docs:fix": "npm-run-all \"update:eslint-docs\"",
4545
"lint:fix": "npm-run-all \"lint:*:fix\"",
4646
"lint:js": "eslint .",
47+
"lint:prettier": "prettier . --check",
4748
"lint:js:fix": "pnpm lint:js --fix",
4849
"lint:package-json": "npmPkgJsonLint .",
4950
"lint:package-json-sorting": "sort-package-json --check",
5051
"lint:package-json-sorting:fix": "sort-package-json package.json",
5152
"lint:remote": "eslint-remote-tester",
53+
"format": "prettier . --write",
5254
"start": "pnpm test:watch",
5355
"test": "vitest run",
5456
"test:coverage": "vitest --coverage",
@@ -118,7 +120,7 @@
118120
"node": "18.* || 20.* || >= 21"
119121
},
120122
"volta": {
121-
"node": "22.10.0",
123+
"node": "22.22.0",
122124
"pnpm": "9.12.2"
123125
},
124126
"publishConfig": {

0 commit comments

Comments
 (0)