use value from config for critical comment score

This commit is contained in:
igoradamenko
2018-05-18 22:09:12 +03:00
parent 0f143f6f78
commit 2a1c416bb8
2 changed files with 4 additions and 4 deletions
-2
View File
@@ -7,7 +7,6 @@ const LAST_COMMENTS_NODE_CLASSNAME = 'remark42__last-comments';
const DEFAULT_LAST_COMMENTS_MAX = 15;
const DEFAULT_MAX_COMMENT_SIZE = 1000;
const DEFAULT_SORT = '-score';
const USELESS_COMMENT_SCORE = -10;
const PROVIDER_NAMES = {
google: 'Google',
facebook: 'Facebook',
@@ -25,5 +24,4 @@ module.exports = {
DEFAULT_MAX_COMMENT_SIZE,
PROVIDER_NAMES,
DEFAULT_SORT,
USELESS_COMMENT_SCORE,
};