-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
30 lines (30 loc) · 1.05 KB
/
.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
30
module.exports = {
"parser": "@typescript-eslint/parser",
"extends": [
'plugin:@typescript-eslint/recommended',
],
"parserOptions": {
"ecmaVersion": 2018, // Allows for the parsing of modern ECMAScript features
"sourceType": "module", // Allows for the use of imports
},
"rules": {
"camelcase" : 1,
"import/extensions": "off",
"import/no-unresolved": "off",
"semi": 2,
"react/jsx-wrap-multilines": 0,
"react/jsx-filename-extension": 0,
"no-use-before-define": 0,
"max-len": ["error", { "code": 150, "tabWidth": 2 }],
"import/prefer-default-export": "off",
"no-underscore-dangle": "off",
"comma-dangle": ["error", "always-multiline"],
"operator-linebreak": "off",
"indent": "off",
"@typescript-eslint/indent": ["error", 2, { "SwitchCase": 1 }],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off",
// "@typescript-eslint/allowSyntheticDefaultImports": true,
},
};