generated from nichoth/template-ts-browser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
34 lines (34 loc) · 887 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
{
"parser": "@typescript-eslint/parser",
"ignorePatterns": ["lib.es5.d.ts"],
"parserOptions": {
"requireConfigFile": false,
"babelOptions": {
}
},
"rules": {
"operator-linebreak": ["off"],
"react/jsx-first-prop-new-line": ["off"],
"react/jsx-indent-props": "off",
"react/jsx-closing-tag-location": ["off"],
"react/jsx-closing-bracket-location": ["off"],
"react/jsx-curly-newline": ["off"],
"react/jsx-boolean-value": ["off"],
"jsx-quotes": ["error", "prefer-double"],
"multiline-ternary": "off",
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 1
}
],
"no-undef": "off",
"indent": ["error", 4, {
"SwitchCase": 1,
"ignoredNodes": ["TemplateLiteral *"]
}],
"comma-dangle": "off",
"no-multi-spaces": ["error", { "ignoreEOLComments": true }]
}
}