Skip to content

Commit d3fd4ed

Browse files
committed
upgrade eslint and friends
1 parent a3f2192 commit d3fd4ed

File tree

3 files changed

+823
-212
lines changed

3 files changed

+823
-212
lines changed

.eslintrc.json

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
{
22
"root": true,
3-
"extends": ["plugin:github/browser", "plugin:github/recommended", "plugin:github/typescript"],
3+
"extends": [
4+
"plugin:github/browser",
5+
"plugin:github/recommended",
6+
"plugin:github/typescript",
7+
"plugin:custom-elements/recommended"
8+
],
49
"rules": {
10+
"custom-elements/tag-name-matches-class": [
11+
"error",
12+
{
13+
"suffix": "Element"
14+
}
15+
],
16+
"custom-elements/define-tag-after-class-definition": "off",
17+
"custom-elements/no-method-prefixed-with-on": "off",
18+
"custom-elements/expose-class-on-global": "off",
519
"import/extensions": ["error", "always"],
620
"import/no-unresolved": "off"
721
},
@@ -18,16 +32,9 @@
1832
"github/unescaped-html-literal": "off",
1933
"github/no-inner-html": "off",
2034
"i18n-text/no-en": "off"
21-
}
22-
},
23-
{
24-
"files": "test/**/*.js",
25-
"excludedFiles": "test/karma.config.cjs",
35+
},
2636
"env": {
2737
"mocha": true
28-
},
29-
"globals": {
30-
"assert": true
3138
}
3239
}
3340
]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy