File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @ice/spec" ,
3- "version" : " 2.0.0-beta.1 " ,
3+ "version" : " 2.0.0-beta.2 " ,
44 "description" : " Easy to use eslint/stylelint/prettier/commitlint in ice project." ,
55 "type" : " module" ,
66 "main" : " ./es2017/index.js" ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export const typescriptRecommendConfig = tslint.config(...tslint.configs.recomme
8383 '@typescript-eslint/consistent-type-assertions' : [
8484 'error' ,
8585 {
86- arrayLiteralTypeAssertions : 'allow-as-parameter ' ,
86+ arrayLiteralTypeAssertions : 'allow' ,
8787 assertionStyle : 'as' ,
8888 objectLiteralTypeAssertions : 'allow' ,
8989 } ,
@@ -452,7 +452,7 @@ export const typescriptRecommendConfig = tslint.config(...tslint.configs.recomme
452452 * @link https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-shadow.md
453453 */
454454 'no-shadow' : 'off' ,
455- '@typescript-eslint/no-shadow' : 'error ' ,
455+ '@typescript-eslint/no-shadow' : 'warn ' ,
456456
457457 /**
458458 * 【推荐】不建议将 this 赋值给其他变量,解构赋值除外
You can’t perform that action at this time.
0 commit comments