Skip to content

Commit e2b95fe

Browse files
committed
Fix eslintrc.cjs not getting linted
1 parent 47a891f commit e2b95fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dev": " NODE_ENV=development tsc --watch",
2727
"build": "NODE_ENV=production tsc -p tsconfig.prod.json",
2828
"prepublishOnly": "rm -rf ./dist && yarn build",
29-
"lint": "tsc --noemit && eslint --ext '.ts' --ignore-path .gitignore .",
29+
"lint": "tsc --noemit && eslint --ext .ts,.js,.vue --ignore-path .gitignore .",
3030
"test": "vitest",
3131
"benchmark": " node --loader ts-node/esm --experimental-specifier-resolution=node tests/benchmarks/benchmark.ts",
3232
"profile": " node --loader ts-node/esm --experimental-specifier-resolution=node --prof --no-logfile-per-isolate tests/benchmarks/profile.ts && node --prof-process v8.log > v8.txt"

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@
3535
],
3636
"include": [
3737
"**/*",
38-
".eslintrc.js"
38+
".eslintrc.cjs"
3939
]
4040
}

0 commit comments

Comments
 (0)