File tree 3 files changed +7
-7
lines changed 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ module.exports = {
26
26
'arrow-body-style' : 'error' ,
27
27
'arrow-parens' : [ 'error' , 'as-needed' ] ,
28
28
'ban/ban' : [
29
- 'warn ' ,
29
+ 'error ' ,
30
30
{
31
31
name : [ '*' , 'forEach' ] ,
32
32
message : 'Use a for-of loop instead' ,
@@ -41,7 +41,7 @@ module.exports = {
41
41
} ,
42
42
{
43
43
name : [ 'jest' , 'fn' ] ,
44
- message : 'Use sinon.spy(() => {} ) instead' ,
44
+ message : 'Use sinon.spy(() => undefined ) instead' ,
45
45
} ,
46
46
] ,
47
47
'callback-return' : 'error' ,
Original file line number Diff line number Diff line change 38
38
"@typescript-eslint/eslint-plugin" : " ^2.14.0" ,
39
39
"@typescript-eslint/parser" : " ^2.14.0" ,
40
40
"eslint-config-prettier" : " ^6.9.0" ,
41
- "eslint-plugin-ban" : " ^1.3 .0" ,
41
+ "eslint-plugin-ban" : " ^1.4 .0" ,
42
42
"eslint-plugin-etc" : " ^0.0.1-beta.24" ,
43
43
"eslint-plugin-import" : " ^2.19.1" ,
44
44
"eslint-plugin-jsdoc" : " ^19.2.0" ,
Original file line number Diff line number Diff line change @@ -1497,10 +1497,10 @@ eslint-module-utils@^2.4.1:
1497
1497
debug "^2.6.9"
1498
1498
pkg-dir "^2.0.0"
1499
1499
1500
- eslint-plugin-ban@^1.3 .0 :
1501
- version "1.3 .0"
1502
- resolved "https://registry.yarnpkg.com /eslint-plugin-ban/-/eslint-plugin-ban-1.3 .0.tgz#be9714cb9e01a1adec6c86cdb182e97636eafe44 "
1503
- integrity sha512-A9A2z60UeVj7/BdKzeIjVEGAog/4QXAyOkZ98AUnZc7fsRp+J7YW7+U/YEVpBJqjSiU/FGUA5tGJoI34ul/TyA ==
1500
+ eslint-plugin-ban@^1.4 .0 :
1501
+ version "1.4 .0"
1502
+ resolved "https://registry.npmjs.org /eslint-plugin-ban/-/eslint-plugin-ban-1.4 .0.tgz#b3a7b000412921336b1feeece5b8ce9a69dea605 "
1503
+ integrity sha512-wtrUOLg8WUiGDkVnmyMseLRtXYBM+bJTe2STvhqznHVj6RPAiNEVLbvDj2b0WWwY/2ldKqeaw3iHUHwfCJ8c8Q ==
1504
1504
dependencies :
1505
1505
requireindex "~1.2.0"
1506
1506
You can’t perform that action at this time.
0 commit comments