Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 737c698

Browse files
committed
Enable eslint-plugin-custom-elements
1 parent 1ae22f2 commit 737c698

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.eslintrc.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
22
"root": true,
3+
"plugins": ["custom-elements"],
34
"extends": [
45
"plugin:github/browser",
56
"plugin:github/recommended",
6-
"plugin:github/typescript"
7+
"plugin:github/typescript",
8+
"plugin:custom-elements/recommended"
79
],
810
"rules": {
911
"github/no-then": "off",
10-
"no-invalid-this": "off"
12+
"no-invalid-this": "off",
13+
"custom-elements/tag-name-matches-class": ["error", {"suffix": "Element"}]
1114
},
1215
"globals": {
1316
"AutocompleteElement": "readonly"

0 commit comments

Comments
 (0)