Skip to content

Commit a5d2408

Browse files
committed
chore: project root linting fix
1 parent c892ce2 commit a5d2408

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

eslint.config.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,15 @@ export default [
1212
rules: {
1313
'@typescript-eslint/no-var-requires': 'off',
1414
'@typescript-eslint/no-implied-eval': 'warn',
15+
'@typescript-eslint/no-this-alias': 'warn',
16+
'@typescript-eslint/no-require-imports': 'off',
1517
'n/no-unsupported-features/node-builtins': 'off',
1618
'import-x/prefer-default-export': 'off',
1719
complexity: ['error', 10]
1820
}
1921
},
2022
{
21-
files: ['**/*.test.js'],
23+
files: ['**/*.test.js', '**/tests/**', '**/tests/*'],
2224
rules: {
2325
'max-lines': 'off',
2426
'max-lines-per-function': 'off',
@@ -29,6 +31,7 @@ export default [
2931
files: ['**/benchmark/*'],
3032
rules: {
3133
'n/no-unpublished-import': 'off',
34+
'n/no-unpublished-require': 'off',
3235
'@typescript-eslint/no-unused-vars': 'off'
3336
}
3437
}

0 commit comments

Comments
 (0)