-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
29 lines (29 loc) · 885 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
24
25
26
27
28
29
module.exports = {
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
],
parser: '@typescript-eslint/parser',
env: { browser: true, es6: true, jasmine: true, jest: true, node: true },
plugins: ['@typescript-eslint', 'prettier'],
parserOptions: {
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
},
rules: {
semi: ['error', 'never'],
'@typescript-eslint/camelcase': ['off'],
'@typescript-eslint/explicit-function-return-type': ['off'],
'@typescript-eslint/indent': ['error', 2],
'@typescript-eslint/member-delimiter-style': [
'error',
{ multiline: { delimiter: 'none' } },
],
'@typescript-eslint/no-non-null-assertion': ['off'],
'@typescript-eslint/no-use-before-define': ['off'],
'@typescript-eslint/no-var-requires': ['off'],
},
}