2019-12-03 22:00:21 +00:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:react/recommended"
|
|
|
|
],
|
|
|
|
"globals": {
|
|
|
|
"Atomics": "readonly",
|
|
|
|
"SharedArrayBuffer": "readonly"
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaFeatures": {
|
|
|
|
"jsx": true
|
|
|
|
},
|
|
|
|
"ecmaVersion": 2018,
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"react"
|
|
|
|
],
|
2019-12-04 23:54:44 +00:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
},
|
2019-12-03 22:00:21 +00:00
|
|
|
"rules": {
|
|
|
|
"indent": [
|
|
|
|
"error",
|
|
|
|
4
|
|
|
|
],
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
"error",
|
|
|
|
"single"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
2019-12-04 23:54:44 +00:00
|
|
|
],
|
|
|
|
"no-irregular-whitespace": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"skipStrings": true,
|
|
|
|
"skipTemplates": true
|
|
|
|
}
|
2019-12-03 22:00:21 +00:00
|
|
|
]
|
|
|
|
}
|
2019-12-04 23:54:44 +00:00
|
|
|
}
|