40 lines
1.2 KiB
JavaScript
40 lines
1.2 KiB
JavaScript
module.exports = {
|
|
rules: {
|
|
// Disabled
|
|
'@typescript-eslint/brace-style': 'off',
|
|
'@typescript-eslint/comma-dangle': 'off',
|
|
'@typescript-eslint/comma-spacing': 'off',
|
|
'@typescript-eslint/func-call-spacing': 'off',
|
|
'@typescript-eslint/indent': 'off',
|
|
'@typescript-eslint/keyword-spacing': 'off',
|
|
'@typescript-eslint/lines-between-class-members': 'off',
|
|
'@typescript-eslint/member-delimiter-style': 'off',
|
|
'@typescript-eslint/no-extra-parens': 'off',
|
|
'@typescript-eslint/object-curly-spacing': 'off',
|
|
'@typescript-eslint/padding-line-between-statements': 'off',
|
|
'@typescript-eslint/quotes': 'off',
|
|
'@typescript-eslint/semi': 'off',
|
|
'@typescript-eslint/space-before-blocks': 'off',
|
|
'@typescript-eslint/space-before-function-paren': 'off',
|
|
'@typescript-eslint/space-infix-ops': 'off',
|
|
'@typescript-eslint/type-annotation-spacing': 'off',
|
|
|
|
// Config
|
|
'@typescript-eslint/consistent-type-imports': 'error',
|
|
'@typescript-eslint/explicit-member-accessibility': [
|
|
'warn',
|
|
{
|
|
accessibility: 'explicit',
|
|
overrides: {
|
|
constructors: 'off',
|
|
},
|
|
},
|
|
],
|
|
'@typescript-eslint/naming-convention': 'warn',
|
|
|
|
// Unicorn
|
|
|
|
// Canonical
|
|
},
|
|
};
|