2021-03-16 18:37:45 +00:00
|
|
|
module.exports = {
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
|
|
|
|
plugins: ['@typescript-eslint', 'prettier'],
|
|
|
|
rules: {
|
2021-03-31 19:04:18 +00:00
|
|
|
'@typescript-eslint/ban-ts-comment': 'warn',
|
2021-03-16 18:37:45 +00:00
|
|
|
'@typescript-eslint/camelcase': 'off',
|
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
|
|
'@typescript-eslint/no-use-before-define': 'off',
|
|
|
|
'@typescript-eslint/no-var-requires': 'off',
|
2021-03-31 20:46:09 +00:00
|
|
|
'@typescript-eslint/no-empty-function': 'off',
|
2021-03-31 19:04:18 +00:00
|
|
|
'no-shadow': 'warn',
|
2021-03-16 18:37:45 +00:00
|
|
|
'prettier/prettier': 'error',
|
|
|
|
'prefer-const': 'off',
|
2021-03-16 18:43:23 +00:00
|
|
|
'prefer-rest-params': 'off',
|
2021-03-31 19:04:18 +00:00
|
|
|
'require-jsdoc': 'warn',
|
2021-03-16 18:37:45 +00:00
|
|
|
},
|
|
|
|
};
|