diff --git a/.eslintignore b/.eslintignore index f1fc323f..8e747f5b 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,3 +1,4 @@ vendor/ vendor-overwrites/* !vendor-overwrites/colorpicker +!vendor-overwrites/csslint diff --git a/.eslintrc b/.eslintrc index cc8956c0..159a4f12 100644 --- a/.eslintrc +++ b/.eslintrc @@ -239,13 +239,13 @@ rules: object-curly-spacing: [2, never] object-shorthand: [0] one-var-declaration-per-line: [1] - one-var: [0] + one-var: [2, {initialized: never}] operator-assignment: [2, always] operator-linebreak: [2, after, overrides: {"?": ignore, ":": ignore, "&&": ignore, "||": ignore}] padded-blocks: [0] prefer-numeric-literals: [2] prefer-rest-params: [0] - prefer-const: [1, {destructuring: any, ignoreReadBeforeAssign: true}] + prefer-const: [1, {destructuring: all, ignoreReadBeforeAssign: true}] quote-props: [0] quotes: [1, single, avoid-escape] radix: [2, as-needed] diff --git a/edit.html b/edit.html index 19375978..07f99b89 100644 --- a/edit.html +++ b/edit.html @@ -5,6 +5,7 @@ +