2022-01-09 21:12:31 +01:00
|
|
|
{
|
2022-09-04 23:58:49 +02:00
|
|
|
|
2022-01-09 21:12:31 +01:00
|
|
|
"extends": [
|
|
|
|
"plugin:import/typescript",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"airbnb-typescript",
|
2022-09-06 23:48:00 +02:00
|
|
|
"@mastermindzh/eslint-config",
|
|
|
|
"prettier"
|
2022-01-09 21:12:31 +01:00
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "./tsconfig.json"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"react",
|
|
|
|
"jest",
|
|
|
|
"@typescript-eslint",
|
2022-09-10 09:27:37 +02:00
|
|
|
"simple-import-sort",
|
|
|
|
"prettier"
|
2022-01-09 21:12:31 +01:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"import/no-extraneous-dependencies": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"devDependencies": [
|
|
|
|
"**/*.test.ts",
|
|
|
|
"**/*.test.tsx",
|
|
|
|
"**/internal/**/*.ts"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/no-unused-vars": ["off"],
|
|
|
|
"@typescript-eslint/no-use-before-define": ["off"],
|
|
|
|
"@typescript-eslint/quotes": ["error", "double"],
|
|
|
|
"@typescript-eslint/naming-convention": ["error", {
|
2022-04-16 16:25:55 +02:00
|
|
|
"format": ["camelCase", "UPPER_CASE", "snake_case", "PascalCase"],
|
|
|
|
"leadingUnderscore": "allow",
|
|
|
|
"selector": "parameter"
|
2022-01-09 21:12:31 +01:00
|
|
|
}],
|
|
|
|
"react/static-property-placement": ["off"],
|
2022-09-04 23:58:49 +02:00
|
|
|
"react/prop-types": ["off"]
|
2022-01-09 21:12:31 +01:00
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"typescript": {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|