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-04-21 16:14:44 +00:00
|
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
2021-03-16 18:37:45 +00:00
|
|
|
'@typescript-eslint/camelcase': 'off',
|
|
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
2021-04-01 16:25:28 +00:00
|
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
2021-10-16 00:28:04 +00:00
|
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
2021-04-01 16:25:28 +00:00
|
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
2021-03-16 18:37:45 +00:00
|
|
|
'@typescript-eslint/no-use-before-define': 'off',
|
|
|
|
'@typescript-eslint/no-var-requires': 'off',
|
2021-04-06 21:54:55 +00:00
|
|
|
'no-console': 'warn',
|
2021-04-01 16:25:28 +00:00
|
|
|
'no-shadow': 'error',
|
2021-03-16 18:37:45 +00:00
|
|
|
'prefer-const': 'off',
|
2021-10-20 22:57:40 +00:00
|
|
|
// 'require-jsdoc': 'error', // re-enable this to enforce JSDoc for all functions
|
2021-03-16 18:37:45 +00:00
|
|
|
},
|
|
|
|
};
|