Skip to content

Commit aac3254

Browse files
committed
chore: disable class-methods-use-this for Atom required API
1 parent 46e2d5d commit aac3254

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/outlineView.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,16 @@ export class OutlineView {
3737
return this.element
3838
}
3939

40+
// needed for Atom
41+
/* eslint-disable class-methods-use-this */
4042
getTitle() {
4143
return "Outline"
4244
}
4345

4446
getIconName() {
4547
return "list-unordered"
4648
}
49+
/* eslint-enable class-methods-use-this */
4750

4851
setOutline(outlineTree: OutlineTree[], editor: TextEditor, isLarge: boolean) {
4952
// skip rendering if it is the same

0 commit comments

Comments
 (0)