tachiyomi-extensions-inspector/webUI/react/.eslintrc.js

18 lines
428 B
JavaScript
Raw Normal View History

2020-12-24 14:19:43 +01:00
module.exports = {
2020-12-24 16:50:50 +01:00
extends: ['airbnb-typescript'],
plugins: ['@typescript-eslint'],
2020-12-24 14:49:49 +01:00
parserOptions: {
2020-12-24 16:50:50 +01:00
project: './tsconfig.json',
2020-12-24 14:49:49 +01:00
},
rules: {
// Indent with 4 spaces
2020-12-24 16:50:50 +01:00
'@typescript-eslint/indent': ['error', 4],
2020-12-24 14:49:49 +01:00
// Indent JSX with 4 spaces
'react/jsx-indent': ['error', 4],
// Indent props with 4 spaces
'react/jsx-indent-props': ['error', 4],
2020-12-24 14:19:43 +01:00
},
};