-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy path.eslintrc
36 lines (36 loc) · 975 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
{
"extends": ["prettier", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"es6": true,
"jasmine": true,
"jest": true,
"node": true
},
"plugins": ["@typescript-eslint", "prettier"],
"globals": {
"__PATH_PREFIX__": true,
"graphql": false
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"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"]
}
}