-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc.js
23 lines (23 loc) · 805 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['plugin:prettier/recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
rules: {
'no-underscore-dangle': 'error',
camelcase: 'off',
'@typescript-eslint/camelcase': 'off',
'class-name-casing': 'off',
'@typescript-eslint/class-name-casing': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-unused-vars': ['error', { args: 'none' }],
'@typescript-eslint/no-explicit-any': 'off',
},
};