-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc
39 lines (39 loc) · 1.07 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
{
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier",
"prettier/@typescript-eslint",
"eslint-config-prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"plugins": ["@typescript-eslint", "prettier"],
"globals": {
"cy": "readonly",
"assert": "readonly",
"context": "readonly",
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"rules": {
"quotes": ["error", "double"],
"semi": ["error", "always"],
"no-undef": "off",
"no-empty": "warn",
"no-console": "error",
"no-func-assign": 1,
"no-unreachable": 1,
"no-invalid-regexp": 1,
"no-unused-vars": "off",
"jsx-a11y/href-no-hash": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/ban-ts-ignore": "off",
"@typescript-eslint/no-empty-function": "warn",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-function-return-type": "off"
}
}