2018-08-30 17:25:33 +03:00
|
|
|
{
|
2024-07-03 15:38:37 +03:00
|
|
|
"plugins": ["prettier"],
|
2018-08-30 17:25:33 +03:00
|
|
|
"extends": [
|
2024-07-03 15:38:37 +03:00
|
|
|
"airbnb-base",
|
|
|
|
"prettier",
|
|
|
|
"eslint:recommended",
|
2018-08-30 17:25:33 +03:00
|
|
|
"plugin:react/recommended",
|
2024-07-03 15:38:37 +03:00
|
|
|
"plugin:@typescript-eslint/recommended"
|
2018-08-30 17:25:33 +03:00
|
|
|
],
|
2024-07-03 15:38:37 +03:00
|
|
|
"parser": "@typescript-eslint/parser",
|
2018-08-30 17:25:33 +03:00
|
|
|
"env": {
|
|
|
|
"jest": true,
|
|
|
|
"node": true,
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true
|
|
|
|
},
|
2018-10-12 15:20:59 +03:00
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"pragma": "React",
|
|
|
|
"version": "16.4"
|
2020-01-31 15:57:20 +03:00
|
|
|
},
|
|
|
|
"import/resolver": {
|
2024-07-03 15:38:37 +03:00
|
|
|
"node": {
|
|
|
|
"extensions": [".js", ".jsx", ".ts", ".tsx"]
|
2020-01-31 15:57:20 +03:00
|
|
|
}
|
2018-10-12 15:20:59 +03:00
|
|
|
}
|
|
|
|
},
|
2018-08-30 17:25:33 +03:00
|
|
|
"rules": {
|
2024-07-03 15:38:37 +03:00
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"import/extensions": [
|
2020-08-19 18:23:05 +03:00
|
|
|
"error",
|
2024-07-03 15:38:37 +03:00
|
|
|
"ignorePackages",
|
2020-08-19 18:23:05 +03:00
|
|
|
{
|
2024-07-03 15:38:37 +03:00
|
|
|
"js": "never",
|
|
|
|
"jsx": "never",
|
|
|
|
"ts": "never",
|
|
|
|
"tsx": "never"
|
2020-08-19 18:23:05 +03:00
|
|
|
}
|
|
|
|
],
|
2018-08-30 17:25:33 +03:00
|
|
|
"class-methods-use-this": "off",
|
|
|
|
"no-shadow": "off",
|
2019-01-23 17:22:04 +03:00
|
|
|
"camelcase": "off",
|
2020-08-19 18:23:05 +03:00
|
|
|
"no-console": [
|
|
|
|
"warn",
|
|
|
|
{
|
2024-07-03 15:38:37 +03:00
|
|
|
"allow": ["warn", "error"]
|
2020-08-19 18:23:05 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"import/no-extraneous-dependencies": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"devDependencies": true
|
|
|
|
}
|
|
|
|
],
|
2020-01-30 13:58:54 +03:00
|
|
|
"import/prefer-default-export": "off",
|
2023-09-07 17:13:48 +03:00
|
|
|
"no-alert": "off",
|
|
|
|
"arrow-body-style": "off",
|
|
|
|
"max-len": [
|
|
|
|
"error",
|
|
|
|
120,
|
|
|
|
2,
|
|
|
|
{
|
|
|
|
"ignoreUrls": true,
|
|
|
|
"ignoreComments": false,
|
|
|
|
"ignoreRegExpLiterals": true,
|
|
|
|
"ignoreStrings": true,
|
|
|
|
"ignoreTemplateLiterals": true
|
|
|
|
}
|
|
|
|
]
|
2018-08-30 17:25:33 +03:00
|
|
|
}
|
|
|
|
}
|