Skip to content

Commit

Permalink
style(*): consistent spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
web-mech committed Oct 23, 2018
1 parent dd4632f commit a845180
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/badwords.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const localList = require('./lang.json').words;
const baseList = require('badwords-list').array;

class Filter {

/**
* Filter constructor.
* @constructor
Expand Down Expand Up @@ -54,6 +55,7 @@ class Filter {
return this.isProfane(word) ? this.replaceWord(word) : word;
}).join('');
}

/**
* Add word(s) to blacklist filter / remove words from whitelist filter
* @param {...string}
Expand All @@ -69,6 +71,7 @@ class Filter {
}
});
}

/**
* Add words to whitelist filter
* @param {...string} word - Word(s) to add to whitelist.
Expand All @@ -78,4 +81,4 @@ class Filter {
}
}

module.exports = Filter;
module.exports = Filter;

0 comments on commit a845180

Please sign in to comment.