mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 21:48:20 +02:00
Enable additional eslint rules, including no-useless-concat
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user