23 lines
677 B
JavaScript
23 lines
677 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: [
|
|
'@typescript-eslint',
|
|
],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended',
|
|
],
|
|
rules: {
|
|
semi:[2, "always"],
|
|
quotes:[2, "double", { "avoidEscape": true }],
|
|
'no-prototype-builtins': "off",
|
|
'no-useless-escape': "off",
|
|
'no-irregular-whitespace': "off",
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
},
|
|
}
|