Files
suwayomi-material-you-webui/.eslintrc.js
Valter Martinek 154b357c40 Options panels refactoring (#196)
* Refactor library options to match chapter options using shared component

* Disable some eslint rules

* Cleanup SourceOptions layout to use same components as other panels
2022-11-24 12:11:03 +03:30

29 lines
686 B
JavaScript

module.exports = {
extends: [
'airbnb',
'airbnb-typescript'
],
plugins: ['@typescript-eslint'],
parserOptions: {
project: './tsconfig.json',
},
rules: {
// Indent with 4 spaces
'@typescript-eslint/indent': ['error', 4],
// Indent JSX with 4 spaces
'react/jsx-indent': ['error', 4],
// Indent props with 4 spaces
'react/jsx-indent-props': ['error', 4],
'no-plusplus': ['error', { 'allowForLoopAfterthoughts': true }],
// just why
'react/jsx-no-bind' : 'off',
'react/jsx-props-no-spreading': 'off',
'react/require-default-props': 'off',
},
};