forked from atomcorp/themes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
39 lines (39 loc) · 929 Bytes
/
.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": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended",
"plugin:cypress/recommended",
"plugin:chai-friendly/recommended"
],
"env": {
"browser": true,
"jest": true,
"node": true,
"es6": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2020,
"sourceType": "module"
},
"plugins": ["@typescript-eslint/eslint-plugin"],
"rules": {
"prettier/prettier": "warning",
"quotes": [1, "single", {"avoidEscape": true}],
"arrow-parens": 1,
"new-cap": 0,
// "indent": ["error", 2],
"react/prop-types": 0,
"no-console": 1,
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowExpressions": true,
"allowTypedFunctionExpressions": true
}
]
}
}