Skip to content

Commit a2211f0

Browse files
committed
refactor: remove tsconfig for eslint
1 parent 5c8b11b commit a2211f0

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.eslintignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
/coverage
22
/lib
33
/Shared
4-
5-
/.eslintrc.js

.eslintrc.js

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
module.exports = {
2-
root: true,
3-
42
parser: '@typescript-eslint/parser',
53

64
parserOptions: {
75
ecmaVersion: 2018,
8-
project: ['./tsconfig.eslint.json'],
6+
project: ['./tsconfig.json'],
97
sourceType: 'module',
108
},
119

@@ -17,6 +15,18 @@ module.exports = {
1715
'plugin:prettier/recommended',
1816
],
1917

18+
overrides: [
19+
{
20+
files: ['*.js'],
21+
parser: null,
22+
parserOptions: { project: null },
23+
rules: {
24+
'@typescript-eslint/ban-ts-comment': 'off',
25+
'@typescript-eslint/no-unnecessary-condition': 'off',
26+
},
27+
},
28+
],
29+
2030
env: {
2131
node: true,
2232
browser: true,

tsconfig.eslint.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)