Add eslint (#741)

This commit is contained in:
Calvin Montgomery 2018-04-07 15:30:30 -07:00 committed by GitHub
parent 953428cad5
commit 62417f7fb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 305 additions and 323 deletions

View file

@ -1,4 +1,4 @@
const SPECIALCHARS = /([\\\.\?\+\*\$\^\|\(\)\[\]\{\}])/g;
const SPECIALCHARS = /([\\.?+*$^|()[\]{}])/g;
class CamoConfig {
constructor(config = { camo: { enabled: false } }) {

View file

@ -23,7 +23,7 @@ class EmailConfig {
getPassword() {
return smtp.password;
}
}
};
const reset = config['password-reset'];
this._reset = {