Files
suwayomi-material-you-webui/.eslintrc.js

26 lines
689 B
JavaScript
Raw Normal View History

2020-12-24 16:49:43 +03:30
module.exports = {
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: {
'prettier/prettier': 'error',
2021-09-09 17:51:22 +04:30
'no-plusplus': ['error', { allowForLoopAfterthoughts: true }],
2021-09-09 17:51:22 +04:30
// just why
'react/jsx-no-bind': 'off',
'react/jsx-props-no-spreading': 'off',
'react/require-default-props': 'off',
"no-relative-import-paths/no-relative-import-paths": [
"error",
{
rootDir: "src",
prefix: false,
},
],
2020-12-24 16:49:43 +03:30
},
};