Skip to content

Commit 0cbc938

Browse files
committed
💚 use simplified ESLint config
1 parent 3271365 commit 0cbc938

File tree

1 file changed

+2
-30
lines changed

1 file changed

+2
-30
lines changed

.eslintrc.js

Lines changed: 2 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,4 @@
11
module.exports = {
2-
extends: [
3-
require.resolve('amper-scripts/config/eslint'),
4-
'plugin:@typescript-eslint/recommended',
5-
'prettier/@typescript-eslint',
6-
'plugin:prettier/recommended'
7-
],
8-
parser: '@typescript-eslint/parser',
9-
plugins: ['@typescript-eslint'],
10-
root: true,
11-
rules: {
12-
'@typescript-eslint/explicit-function-return-type': ['off'],
13-
'@typescript-eslint/explicit-module-boundary-types': ['off'],
14-
'@typescript-eslint/no-empty-function': 'off',
15-
'@typescript-eslint/no-empty-interface': [
16-
'error',
17-
{ allowSingleExtends: true }
18-
],
19-
'@typescript-eslint/no-explicit-any': 'off'
20-
},
21-
overrides: [
22-
{
23-
files: ['*.ts', '*.tsx'],
24-
rules: {
25-
// Turn off rules that TypeScript ESLint handles
26-
'no-undef': 'off',
27-
'no-unused-vars': 'off',
28-
'no-use-before-define': 'off'
29-
}
30-
}
31-
]
2+
extends: [require.resolve('amper-scripts/config/eslint')],
3+
root: true
324
};

0 commit comments

Comments
 (0)