diff --git a/.eslintrc b/.eslintrc index 2bf462e10..c7a7f3374 100644 --- a/.eslintrc +++ b/.eslintrc @@ -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", diff --git a/modules/operations/delete.js b/modules/operations/delete.js index b6c3c6e24..9a7bd8ce6 100644 --- a/modules/operations/delete.js +++ b/modules/operations/delete.js @@ -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); };