File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,13 @@ export default pionxzh(
26
26
files : [ 'packages/unminify/**/*.spec.ts' ] ,
27
27
rules : {
28
28
'style/indent' : [ 'error' , 2 ] ,
29
+ 'no-restricted-syntax' : [
30
+ 'warn' ,
31
+ {
32
+ selector : 'CallExpression[callee.property.name=\'only\']' ,
33
+ message : '`.only` tests are used for local tests only' ,
34
+ } ,
35
+ ] ,
29
36
} ,
30
37
} ,
31
38
{
Original file line number Diff line number Diff line change 20
20
"test:update" : " turbo run test:update" ,
21
21
"test:watch" : " turbo run test:watch" ,
22
22
"test:type" : " turbo run test:type" ,
23
- "lint" : " turbo run lint" ,
24
- "lint:fix" : " turbo run lint:fix" ,
23
+ "lint" : " turbo run lint --max-warnings=0 " ,
24
+ "lint:fix" : " turbo run lint:fix --max-warnings=0 " ,
25
25
"bump-deps" : " pnpm exec taze" ,
26
26
"generate:pretty-testcases" : " esno scripts/pretty-testcases.ts"
27
27
},
You can’t perform that action at this time.
0 commit comments