-
Notifications
You must be signed in to change notification settings - Fork 44
/
.eslintrc
35 lines (35 loc) · 811 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
{
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true,
"experimentalObjectRestSpread": true
},
"sourceType": "module",
"ecmaVersion": 6,
"allowImportExportEverywhere": true
},
"plugins": [
"react"
],
"rules": {
"quotes": [2, "single", { "avoidEscape": true }],
"comma-dangle": 0,
"react/jsx-uses-vars": 1,
"react/display-name": 1,
"react/prop-types": 0,
"no-unused-vars": "warn",
"no-console": 1,
"no-unexpected-multiline": "warn"
}
}