-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
28 lines (28 loc) · 835 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
extends: [
'airbnb-typescript/base',
'plugin:@typescript-eslint/recommended',
'prettier'
],
plugins: ['import', 'prettier', '@typescript-eslint'],
parserOptions: {
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
sourceType: "module",
},
rules: {
quotes: [
'error',
'single',
{
avoidEscape: true, allowTemplateLiterals: false
}
],
"import/prefer-default-export": "off",
"@typescript-eslint/no-empty-interface": "off",
"no-underscore-dangle": ["error", { "allow": ["_id", "_update"] }],
'class-methods-use-this': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
},
ignorePatterns: ['.eslintrc.js'],
};