2020-12-24 16:49:43 +03:30
|
|
|
module.exports = {
|
2023-02-06 10:06:33 +01:00
|
|
|
extends: ['airbnb', 'airbnb-typescript', 'prettier'],
|
|
|
|
|
plugins: ['@typescript-eslint', 'no-relative-import-paths', 'prettier'],
|
2020-12-24 17:19:49 +03:30
|
|
|
parserOptions: {
|
2020-12-24 16:50:50 +01:00
|
|
|
project: './tsconfig.json',
|
2020-12-24 17:19:49 +03:30
|
|
|
},
|
|
|
|
|
rules: {
|
2023-02-06 10:06:33 +01:00
|
|
|
'prettier/prettier': 'error',
|
2021-09-09 17:51:22 +04:30
|
|
|
|
2023-02-06 10:06:33 +01:00
|
|
|
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
|
2021-09-09 17:51:22 +04:30
|
|
|
|
|
|
|
|
// just why
|
2023-02-06 10:06:33 +01:00
|
|
|
'react/jsx-no-bind': 'off',
|
2022-11-24 09:41:03 +01:00
|
|
|
'react/jsx-props-no-spreading': 'off',
|
|
|
|
|
'react/require-default-props': 'off',
|
2023-02-05 16:15:20 +01:00
|
|
|
|
|
|
|
|
"no-relative-import-paths/no-relative-import-paths": [
|
|
|
|
|
"error",
|
|
|
|
|
{
|
|
|
|
|
rootDir: "src",
|
|
|
|
|
prefix: false,
|
|
|
|
|
},
|
|
|
|
|
],
|
2020-12-24 16:49:43 +03:30
|
|
|
},
|
|
|
|
|
};
|