forked from dwqs/react-area-linkage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 1008 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
40
41
42
43
44
45
{
root: true,
parser: "babel-eslint",
parserOptions: {
ecmaVersion: 7,
sourceType: "module",
allowImportExportEverywhere: false,
ecmaFeatures: {
jsx: true,
modules: true
}
},
env: {
es6: true,
node: true,
browser: true
},
extends: [
"eslint:recommended",
"plugin:import/errors",
"plugin:react/recommended"
],
rules: {
indent: [2, 4, { "SwitchCase": 1 }],
quotes: [2, "single", { "allowTemplateLiterals": true }],
linebreak-style: [2, "unix"],
semi: [2, "always"],
eqeqeq: [2, "always"],
strict: [2, "global"],
key-spacing: [2, { "afterColon": true }],
no-console: 0,
no-debugger: 0,
no-empty: 0,
no-unused-vars: 0,
no-constant-condition: 0,
no-undef: 0,
import/no-unresolved: 0,
react/jsx-no-target-blank: 0,
react/no-unescaped-entities: 0,
react/prop-types: 0,
react/jsx-no-comment-textnodes: 0,
no-case-declarations: 0,
react/no-find-dom-node: 0
}
}