mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 16:21:50 +01:00
20 lines
501 B
JavaScript
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 }]
|
|
},
|
|
};
|