-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.cjs
31 lines (31 loc) · 835 Bytes
/
.eslintrc.cjs
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
29
30
31
module.exports = {
extends: ['plugin:@hendacorp/basic'],
settings: {
'import/parsers': {
'@typescript-eslint/parser': ['.ts', '.tsx'],
},
'import/resolver': {
typescript: {},
},
},
overrides: [
{
files: ['*.ts', '*.tsx'],
parserOptions: {
project: 'tsconfig.json',
},
},
],
rules: {
// // turn on errors for missing imports
// 'import/no-unresolved': 'error',
// '@typescript-eslint/consistent-indexed-object-style': ['error', 'record'],
// 'no-console': ['error', { allow: ['info', 'warn', 'error', 'table'] }],
// 'no-undef': 'off',
'@typescript-eslint/naming-convention': 'off',
'@typescript-eslint/member-ordering': [
'error',
{ classes: ['field', 'constructor', 'accessor', 'set', 'get', 'method'] },
],
},
};