Skip to content

Commit b05b153

Browse files
chore: restrict eslint observed files
1 parent 5b9b86a commit b05b153

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

eslint.config.mjs

+4-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import globals from 'globals';
44

55
export default [
66
{
7-
ignores: ['dist']
7+
ignores: ['dist', '**/mock.ts', 'bin/index.js', 'jest.config.js', '**/*.spec.ts']
88
},
99
{
1010
...love,
@@ -22,14 +22,15 @@ export default [
2222
sourceType: 'module',
2323

2424
parserOptions: {
25-
project: ['./tsconfig.eslint.json']
25+
project: ['tsconfig.json']
2626
}
2727
}
2828
},
2929

3030
{
3131
rules: {
32-
'@typescript-eslint/naming-convention': 'off'
32+
'@typescript-eslint/naming-convention': 'off',
33+
complexity: 'off'
3334
}
3435
}
3536
];

tsconfig.eslint.json

-8
This file was deleted.

0 commit comments

Comments
 (0)