This repository has been archived by the owner on Nov 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
53 lines (53 loc) · 1.68 KB
/
.eslintrc
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint", "jest"],
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"plugin:@stencil/recommended",
"prettier",
"prettier/@typescript-eslint"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"project": "./tsconfig.json",
"sourceType": "module"
},
"rules": {
"eqeqeq": "off",
"import/extensions": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"lines-between-class-members": "off",
"no-plusplus": "off",
"spaced-comment": "off",
"no-bitwise": "off",
"no-cond-assign": "warn",
"no-nested-ternary": "off",
"no-new-object": "off",
"no-param-reassign": "warn",
"no-return-assign": "warn",
"no-shadow": "warn",
"prefer-destructuring": "off",
"prefer-template": "off",
"semi": ["error", "never"],
"@stencil/ban-exported-const-enums": "off",
"@stencil/ban-side-effects": "off",
"@stencil/own-methods-must-be-private": "off",
"@stencil/own-props-must-be-private": "off",
"@stencil/required-jsdoc": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-object-literal-type-assertion": "off",
"@typescript-eslint/no-non-null-assertion": "off"
},
"env": {
"jest/globals": true
}
}