Skip to content

Commit f625694

Browse files
committed
chore: Tweak eslint config
1 parent 7b9c1b2 commit f625694

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

eslint.config.mjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ const config = createConfig([
6262
files: [
6363
'**/*.{js,cjs,mjs}',
6464
'**/*.test.{js,ts}',
65+
'**/test/**/*.{js,ts}',
6566
'**/tests/**/*.{js,ts}',
6667
'scripts/*.ts',
6768
'scripts/create-package/**/*.ts',
@@ -218,12 +219,6 @@ const config = createConfig([
218219
sourceType: 'module',
219220
},
220221
},
221-
{
222-
files: ['packages/*/test/**/*.{js,ts}'],
223-
rules: {
224-
'import-x/no-nodejs-modules': 'off',
225-
},
226-
},
227222
{
228223
files: ['packages/eth-json-rpc-middleware/**/*.ts'],
229224
rules: {
@@ -237,7 +232,6 @@ const config = createConfig([
237232
'@typescript-eslint/restrict-template-expressions': 'off',
238233
'id-denylist': 'off',
239234
'id-length': 'off',
240-
'import/no-nodejs-modules': 'off',
241235
'jsdoc/match-description': 'warn',
242236
'jsdoc/no-types': 'warn',
243237
'jsdoc/require-hyphen-before-param-description': 'warn',

0 commit comments

Comments
 (0)