-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.eslintrc
More file actions
54 lines (54 loc) · 1.29 KB
/
.eslintrc
File metadata and controls
54 lines (54 loc) · 1.29 KB
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
46
47
48
49
50
51
52
53
54
{
"extends": [
"eslint:recommended",
"google",
"plugin:import/errors",
"plugin:import/warnings"
],
"plugins": [
"react",
"prettier",
"import"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"parser": "babel-eslint",
"env": {
"mocha": true,
"es6": true,
"browser": true,
"node": true,
"jquery": true
},
"rules": {
"import/no-unresolved": "off",
"indent": ["error", 2],
"no-unused-vars": ["error", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"comma-dangle": [
"error",
"never"
],
"max-len": ["error", 100, {
"ignoreComments": true,
"ignoreTemplateLiterals": true,
"ignoreTrailingComments": true,
"ignoreUrls": true
}],
"no-invalid-this": 0,
"new-cap": ["error", {
"properties": false
}],
"require-jsdoc": 0,
"linebreak-style": 0
},
"settings": {
"import/ignore": [".(scss|less|css)$"]
}
}