2019-01-10 20:23:33 +03:00
|
|
|
{
|
2020-08-16 16:00:54 +03:00
|
|
|
"root": true,
|
2019-01-10 20:23:33 +03:00
|
|
|
"parser": "babel-eslint",
|
2020-08-19 17:07:30 +03:00
|
|
|
"extends": ["eslint:recommended", "plugin:react/recommended", "prettier"],
|
2019-01-10 20:23:33 +03:00
|
|
|
"globals": {
|
|
|
|
"chrome": true
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"browser": true,
|
|
|
|
"jest": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"eol-last": ["warn"],
|
2020-08-19 17:07:30 +03:00
|
|
|
"max-len": ["warn", { "code": 120, "ignoreComments": true }],
|
2019-01-10 20:23:33 +03:00
|
|
|
"quotes": ["warn", "single", "avoid-escape"],
|
|
|
|
"jsx-quotes": ["warn", "prefer-double"],
|
2020-08-05 16:12:31 +03:00
|
|
|
"react/prop-types": 0,
|
|
|
|
"prettier/prettier": "error"
|
2019-01-10 20:23:33 +03:00
|
|
|
},
|
2020-08-19 17:07:30 +03:00
|
|
|
"plugins": ["prettier", "react", "babel"],
|
2019-01-10 20:23:33 +03:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|