tachiyomi-extensions-inspector/webUI/react/.eslintrc.js
2021-03-09 16:44:09 +03:30

20 lines
501 B
JavaScript

module.exports = {
extends: ['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 }]
},
};