66plugins :
77- node
88- prettier
9+ env :
10+ es2022 : true
911rules :
1012 prettier/prettier : error
1113 block-scoped-var : error
@@ -27,28 +29,49 @@ rules:
2729 property : only
2830overrides :
2931- files :
30- - " **/*.ts"
31- - " **/*.tsx"
32+ - " **/** .ts"
33+ - " **/** .tsx"
3234 parser : " @typescript-eslint/parser"
35+ plugins :
36+ - " @typescript-eslint"
3337 extends :
3438 - plugin:@typescript-eslint/recommended
39+ - plugin:@typescript-eslint/recommended-requiring-type-checking
3540 rules :
3641 " @typescript-eslint/no-non-null-assertion " : ' off'
37- " @typescript-eslint/no-use-before-define " : ' off'
38- " @typescript-eslint/no-warning-comments " : ' off'
39- " @typescript-eslint/no-empty-function " : ' off'
40- " @typescript-eslint/no-var-requires " : ' off'
41- " @typescript-eslint/explicit-function-return-type " : ' off'
42- " @typescript-eslint/explicit-module-boundary-types " : ' off'
43- " @typescript-eslint/ban-types " : ' off'
44- " @typescript-eslint/camelcase " : ' off'
42+ # "@typescript-eslint/no-use-before-define": 'off'
43+ # "@typescript-eslint/no-warning-comments": 'off'
44+ # "@typescript-eslint/no-empty-function": 'off'
45+ # "@typescript-eslint/no-var-requires": 'off'
46+ # "@typescript-eslint/explicit-function-return-type": 'off'
47+ # "@typescript-eslint/explicit-module-boundary-types": 'off'
48+ # "@typescript-eslint/ban-types": 'off'
49+ # "@typescript-eslint/camelcase": 'off'
50+ " @typescript-eslint/no-misused-promises " : ["error", {"checksvoidReturn": false}]
4551 node/no-missing-import : ' off'
4652 node/no-empty-function : ' off'
4753 node/no-unsupported-features/es-syntax : ' off'
4854 node/no-missing-require : ' off'
4955 node/shebang : ' off'
50- no-dupe-class-members : ' off'
51- require-atomic-updates : ' off'
56+ node/no-unpublished-import :
57+ - error
58+ - convertPath :
59+ src/**/*.ts :
60+ - " ^src/(.+?)\\ .ts$"
61+ - " lib/$1.js"
62+ # no-dupe-class-members: 'off'
63+ # require-atomic-updates: 'off'
5264 parserOptions :
65+ project : ' ./tsconfig.json'
5366 ecmaVersion : 2018
5467 sourceType : module
68+ - files :
69+ - " **/**.mjs"
70+ parser : " @babel/eslint-parser"
71+ parserOptions :
72+ requireConfigFile : false
73+ rules :
74+ node/shebang : off
75+ plugins :
76+ - node
77+ - prettier
0 commit comments