-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintrc.js
38 lines (37 loc) · 1021 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
29
30
31
32
33
34
35
36
37
38
module.exports = {
'parser': '@typescript-eslint/parser'
,'plugins': ['@typescript-eslint' ,'import']
,'extends': [
'oclif'
,'oclif-typescript'
,'@tdi/base'
]
,'parserOptions': {
ecmaVersion: 2021
,project: ['./tsconfig.json' ,'./src/**/tsconfig.json' ,'./test/**/tsconfig.json']
,sourceType: 'module'
,ecmaFeatures: {
globalReturn: false
,jsx: false
,impliedStrict: false
}
}
,'settings': {
'import/resolver': {
node: {
extensions: ['.js' ,'.jsx' ,'.ts' ,'.d.ts' ,'.tsx' ,'.json']
// moduleDirectory: ['node_modules','src']
}
}
}
,'env': { node: true }
,'rules': {
// This project overrides
'no-template-curly-in-string': ['off']
// My unicorn has been abused and now flags things erroneously.
// Will need to debug the rule latter
,'unicorn/no-abusive-eslint-disable': ['off']
// Javascript
// ,'lines-between-class-members': ['error' ,'never' ,{ exceptAfterSingleLine: true }]
}
}