36 lines
582 B
Plaintext
36 lines
582 B
Plaintext
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:react/recommended"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"strict": ["error", "global"],
|
|
"curly": "warn",
|
|
"quotes": ["warn", "single"],
|
|
"indent": ["warn", 4]
|
|
},
|
|
"plugins": [
|
|
"react"
|
|
],
|
|
"settings": {
|
|
"react": {
|
|
"version": "detect"
|
|
}
|
|
}
|
|
}
|