Skip to content

Commit b8061ab

Browse files
committed
Update configs and package.json overrides
1 parent fca0f8d commit b8061ab

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

eslint.config.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,15 @@ export default tseslint.config(
3636
curly: 'warn',
3737
eqeqeq: ['warn', 'always', { null: 'ignore' }],
3838
'no-constant-condition': 'warn',
39+
'no-empty': 'warn',
3940
'no-throw-literal': 'warn',
4041
'no-unused-expressions': 'off', // use typescript-eslint
42+
'no-unused-private-class-members': 'warn',
4143
'no-unused-vars': 'off', // use typescript-eslint
44+
'no-useless-assignment': 'warn',
45+
'no-useless-rename': 'warn',
4246
'no-var': 'warn',
47+
'object-shorthand': 'warn',
4348
'prefer-const': 'warn',
4449
quotes: ['warn', 'single', 'avoid-escape'],
4550
semi: 'warn'

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
},
9797
"overrides": {
9898
"@rollup/plugin-eslint": {
99-
"eslint": "^9"
99+
"eslint": "$eslint"
100100
}
101101
}
102102
}

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"moduleResolution": "NodeNext",
88
"noEmit": true,
99
"noImplicitAny": true,
10+
"noUnusedLocals": true,
1011
"resolveJsonModule": true,
1112
"skipLibCheck": true,
1213
"strict": true,

0 commit comments

Comments
 (0)