aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index c4e0b9de8c..5fa6d1e682 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -16,6 +16,7 @@ plugins:
- eslint-plugin-sonarjs
- eslint-plugin-custom-elements
- eslint-plugin-regexp
+ - eslint-plugin-wc
env:
es2022: true
@@ -717,6 +718,15 @@ rules:
use-isnan: [2]
valid-typeof: [2, {requireStringLiterals: true}]
vars-on-top: [0]
+ wc/attach-shadow-constructor: [2]
+ wc/guard-super-call: [2]
+ wc/no-closed-shadow-root: [2]
+ wc/no-constructor-attributes: [2]
+ wc/no-constructor-params: [2]
+ wc/no-invalid-element-name: [0] # covered by custom-elements/valid-tag-name
+ wc/no-self-class: [2]
+ wc/no-typos: [2]
+ wc/require-listener-teardown: [2]
wrap-iife: [2, inside]
wrap-regex: [0]
yield-star-spacing: [2, after]