aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.yaml
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r--.eslintrc.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml
index 2cde9d2aa5..81b3a10f30 100644
--- a/.eslintrc.yaml
+++ b/.eslintrc.yaml
@@ -13,6 +13,7 @@ plugins:
- eslint-plugin-import
- eslint-plugin-jquery
- eslint-plugin-sonarjs
+ - eslint-plugin-custom-elements
env:
es2022: true
@@ -62,6 +63,19 @@ rules:
consistent-this: [0]
constructor-super: [2]
curly: [0]
+ custom-elements/expose-class-on-global: [0]
+ custom-elements/extends-correct-class: [2]
+ custom-elements/file-name-matches-element: [0]
+ custom-elements/no-constructor: [2]
+ custom-elements/no-customized-built-in-elements: [2]
+ custom-elements/no-dom-traversal-in-attributechangedcallback: [2]
+ custom-elements/no-dom-traversal-in-connectedcallback: [2]
+ custom-elements/no-exports-with-element: [2]
+ custom-elements/no-method-prefixed-with-on: [2]
+ custom-elements/no-unchecked-define: [0]
+ custom-elements/one-element-per-file: [0]
+ custom-elements/tag-name-matches-class: [2]
+ custom-elements/valid-tag-name: [2]
default-case-last: [2]
default-case: [0]
default-param-last: [0]