We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
eslint-plugin-custom-elements
1 parent 09bb6bd commit 3feaba1Copy full SHA for 3feaba1
.eslintrc.json
@@ -1,10 +1,16 @@
1
{
2
"root": true,
3
+ "plugins": ["custom-elements"],
4
"extends": [
5
"plugin:github/recommended",
6
"plugin:github/browser",
- "plugin:github/typescript"
7
+ "plugin:github/typescript",
8
+ "plugin:custom-elements/recommended"
9
],
10
+ "rules": {
11
+ "custom-elements/file-name-matches-element": ["error", {"suffix": "Element"}],
12
+ "custom-elements/tag-name-matches-class": ["error", {"suffix": "Element"}]
13
+ },
14
"globals": {
15
"CustomElementElement": "readonly"
16
}
0 commit comments