Skip to content

Commit 4806b7b

Browse files
committed
ESLint: src/ only
1 parent 9b2ccda commit 4806b7b

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ module.exports = {
1111
ignorePatterns: ["dist", ".eslintrc.cjs"],
1212
parser: "@typescript-eslint/parser",
1313
plugins: ["react-refresh", "@typescript-eslint"],
14-
rules: {
15-
// "react-refresh/only-export-components": [
16-
// "warn",
17-
// { allowConstantExport: true },
18-
// ],
19-
},
14+
rules: {},
2015
settings: {
2116
"react": {
2217
"version": "detect",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"scripts": {
2222
"demo": "cd demo && pnpm dev",
2323
"build": "pnpm tsc && node ./build.js",
24-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
24+
"lint": "eslint ./src --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
2525
},
2626
"type": "module",
2727
"sideEffects": false,

0 commit comments

Comments
 (0)