Enable additional eslint rules, including no-useless-concat

This commit is contained in:
Quincy Morgan
2020-10-23 11:12:47 -04:00
parent f8e4e43fab
commit 64ec6424db
2 changed files with 7 additions and 4 deletions
+6 -3
View File
@@ -64,13 +64,16 @@
"no-template-curly-in-string": "warn",
"no-throw-literal": "error",
"no-undef": "error",
"no-unneeded-ternary": "error",
"no-unused-expressions": "error",
"no-unexpected-multiline": "error",
"no-unused-vars": "warn",
"no-unneeded-ternary": "error",
"no-unmodified-loop-condition": "error",
"no-unreachable": "warn",
"no-unreachable-loop": "warn",
"no-unused-expressions": "error",
"no-unused-vars": "warn",
"no-useless-escape": "off",
"no-useless-call": "warn",
"no-useless-concat": "warn",
"no-void": "error",
"no-warning-comments": "warn",
"no-with": "error",
+1 -1
View File
@@ -132,7 +132,7 @@ export function operationDelete(context, selectedIDs) {
var disable = operation.disabled();
return disable ?
t('operations.delete.' + disable + '.' + multi) :
t('operations.delete.description' + '.' + multi);
t('operations.delete.description.' + multi);
};