-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.eslintrc
More file actions
36 lines (36 loc) · 1013 Bytes
/
.eslintrc
File metadata and controls
36 lines (36 loc) · 1013 Bytes
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
{
"ecmaFeatures": {
"modules": true,
"arrowFunctions": true,
"classes": true
},
"env": {
"es6": true,
"jest": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"parser": "babel-eslint",
"plugins": ["react", "prettier"],
"rules": {
"comma-dangle": [1, "always-multiline"],
"comma-spacing": 1,
"comma-style": 1,
"indent": ["error", 4],
"prettier/prettier": [
1,
{
"singleQuote": true,
"trailingComma": "es5",
"jsxBracketSameLine": true,
"printWidth": 160,
"tabWidth": 4
}
],
"react/display-name": 0,
"react/jsx-closing-bracket-location": [1, { "selfClosing": "tag-aligned", "nonEmpty": "after-props" }],
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/prop-types": 0,
"semi": [1, 'always']
}
}