38 lines
1,006 B
JavaScript
38 lines
1,006 B
JavaScript
module.exports = {
|
|
root: true,
|
|
extends: [
|
|
'eslint-config-airbnb-base',
|
|
'plugin:@typescript-eslint/recommended',
|
|
'plugin:prettier/recommended',
|
|
],
|
|
parser: '@typescript-eslint/parser',
|
|
env: {
|
|
node: true,
|
|
es6: true,
|
|
jest: true,
|
|
},
|
|
settings: {
|
|
'import/resolver': {
|
|
node: {
|
|
extensions: ['.js', '.ts']
|
|
}
|
|
}
|
|
},
|
|
rules: {
|
|
'import/extensions': 'off',
|
|
'no-await-in-loop': 'off',
|
|
'no-console': 'off',
|
|
'class-methods-use-this': 'off',
|
|
'no-continue': 'off',
|
|
'@typescript-eslint/naming-convention': { format: 'camelCase' },
|
|
'@typescript-eslint/explicit-member-accessibility': 0,
|
|
'@typescript-eslint/interface-name-prefix': 0,
|
|
'@typescript-eslint/no-explicit-any': 0,
|
|
'@typescript-eslint/explicit-module-boundary-types': 0,
|
|
'@typescript-eslint/naming-convention': 0,
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true },
|
|
],
|
|
},
|
|
};
|