Skip to content

Commit 1d8a03f

Browse files
committed
update to eslint v9
1 parent c9ce7ba commit 1d8a03f

12 files changed

+4968
-1944
lines changed

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
legacy-peer-deps=true

eslint.config.mjs

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import tsEslint from 'typescript-eslint';
2+
import config from 'eslint-config-kyle';
3+
4+
export default tsEslint.config(...config, {
5+
rules: {
6+
'vitest/expect-expect': 'off', // we use node:assert
7+
'unicorn/prefer-node-protocol': 'off', // not supported in node v10
8+
'unicorn/prefer-event-target': 'off', // not supported in node v10
9+
'unicorn/prefer-string-replace-all': 'off', // not supported in node v10
10+
'unicorn/prevent-abbreviations': 'off', // don't want to rename code ported from C++
11+
'@typescript-eslint/no-unsafe-declaration-merging': 'off', // required for EventEmitter types
12+
},
13+
});

0 commit comments

Comments
 (0)