More lint tweaking (#3164)
1. Add no space in paren rule 2. fix spec/eslintrc.json so it allow for inheriting from root rc. Because the spce rc specified reccomended, it "turned off" all of the rule tweaks in the root. This fixes that.
This commit is contained in:
committed by
Florent Vilmart
parent
b9afccd338
commit
a270632570
@@ -131,7 +131,7 @@ export class Config {
|
||||
throw 'passwordPolicy.validatorPattern must be a RegExp.';
|
||||
}
|
||||
|
||||
if(passwordPolicy.validatorCallback && typeof passwordPolicy.validatorCallback !== 'function' ) {
|
||||
if(passwordPolicy.validatorCallback && typeof passwordPolicy.validatorCallback !== 'function') {
|
||||
throw 'passwordPolicy.validatorCallback must be a function.';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user