Fix ESLint errors
This commit is contained in:
parent
f0b4bb7341
commit
1dbda38995
12 changed files with 151 additions and 156 deletions
|
@ -1,6 +1,6 @@
|
|||
const convict = require('convict');
|
||||
|
||||
let conf = convict({
|
||||
const conf = convict({
|
||||
bitly_key: {
|
||||
format: String,
|
||||
default: 'localhost',
|
||||
|
@ -32,7 +32,7 @@ let conf = convict({
|
|||
// Perform validation
|
||||
conf.validate({ allowed: 'strict' });
|
||||
|
||||
let props = conf.getProperties();
|
||||
const props = conf.getProperties();
|
||||
module.exports = props;
|
||||
|
||||
module.exports.notLocalHost =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue