File tree 2 files changed +34
-3
lines changed 2 files changed +34
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"env" : {
3
- "es6" : true
3
+ "es6" : true ,
4
+ "node" : true
4
5
},
5
6
"ignorePatterns" : [
6
7
" _ts3.4/" ,
44
45
},
45
46
"rules" : {
46
47
"@typescript-eslint/no-empty-function" : " off" ,
47
- "@typescript-eslint/no-explicit-any" : " error" ,
48
+ "@typescript-eslint/no-explicit-any" : " off" ,
49
+ "@typescript-eslint/explicit-module-boundary-types" : " off" ,
50
+ "@typescript-eslint/ban-types" : [
51
+ " off" ,
52
+ {
53
+ "types" : {
54
+ "object" : " "
55
+ }
56
+ }
57
+ ],
48
58
"@typescript-eslint/explicit-member-accessibility" : [
49
59
" error" ,
50
60
{
129
139
"security/detect-non-literal-fs-filename" : " off"
130
140
}
131
141
},
142
+ {
143
+ "files" : [
144
+ " src/**/*.ts"
145
+ ],
146
+ "plugins" : [" jsdoc" ],
147
+ "rules" : {
148
+ "jsdoc/require-jsdoc" : [" warn" , {
149
+ "require" : {
150
+ "FunctionDeclaration" : true ,
151
+ "MethodDefinition" : false ,
152
+ "ClassDeclaration" : true ,
153
+ "ArrowFunctionExpression" : false ,
154
+ "FunctionExpression" : false
155
+ },
156
+ "publicOnly" : true ,
157
+ "contexts" : [
158
+ " MethodDefinition:not([accessibility=/(private|protected)/]) > FunctionExpression"
159
+ ]
160
+ }]
161
+ }
162
+ },
132
163
{
133
164
"files" : [
134
165
" *.config.js"
Original file line number Diff line number Diff line change 19
19
"dev:link" : " wsrun --if is-not-private --bin=yarn link" ,
20
20
"dev:unlink" : " wsrun --if is-not-private --bin=yarn unlink" ,
21
21
"functional-test" : " yarn build && yarn workspace functional-tests test" ,
22
- "lint" : " wsrun -m -l lint --quiet " ,
22
+ "lint" : " wsrun -m -l lint --max-warnings=0 " ,
23
23
"package" : " wsrun -e -t -l --if is-not-private --bin yarn pack" ,
24
24
"test" : " npm-run-all build test:mocha test:runtime test:runtime test:nyc:report" ,
25
25
"test:compat" : " wsrun -e -m -t test:compat" ,
You can’t perform that action at this time.
0 commit comments