Skip to content

Commit a035591

Browse files
committed
Ignore some eslint rules
1 parent dcf2f80 commit a035591

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@
99
"plugin:github/browser",
1010
"plugin:github/typescript",
1111
"plugin:custom-elements/recommended"
12-
]
12+
],
13+
"rules": {
14+
"custom-elements/tag-name-matches-class": ["error", {"suffix": "Element"}]
15+
}
1316
}

src/task-lists-element.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import {SortEndArgs, isDragging, sortable} from './sortable'
33
const observers = new WeakMap()
44

55
export default class TaskListsElement extends HTMLElement {
6+
// eslint-disable-next-line custom-elements/no-constructor
67
constructor() {
78
super()
89

0 commit comments

Comments
 (0)