aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
authorsilverwind2022-07-20 17:48:06 +0200
committerGitHub2022-07-20 23:48:06 +0800
commitc7fa5cc0175935579091daaa70a24a6442c4ee01 (patch)
tree9984071f76e2aeb6fa256a2b3855f9a3630a324c /.eslintrc.yaml
parentb8733e8f8913aec912e145213aea3bf551361af6 (diff)
Update JS dependencies (#20423)
- Update all JS dependencies minus vue ones - Remove workaround for case-insensitive attribute selector - Add new linter rules and fix issues - Tested SVG display and swagger
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 3a906c44c..90bb3c9c5 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -447,9 +447,11 @@ rules:
unicorn/prefer-date-now: [2]
unicorn/prefer-default-parameters: [0]
unicorn/prefer-event-key: [2]
+ unicorn/prefer-event-target: [2]
unicorn/prefer-export-from: [2]
unicorn/prefer-includes: [2]
unicorn/prefer-json-parse-buffer: [0]
+ unicorn/prefer-logical-operator-over-ternary: [2]
unicorn/prefer-math-trunc: [2]
unicorn/prefer-modern-dom-apis: [0]
unicorn/prefer-modern-math-apis: [2]