-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve linting #1306
improve linting #1306
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great! Thanks for finding and implementing this. I didn't know about this rule.
Reviewed 27 of 27 files at r1, all commit messages.
Reviewable status: complete! all files reviewed, all discussions resolved
fddfe3be5 improve linting (#31) git-subtree-dir: extensions git-subtree-split: fddfe3be5b8aa13896dc23062a89918a730efcd4
…864fa 8902864fa improve linting (#85) git-subtree-dir: extensions/src/hello-someone git-subtree-split: 8902864faf945d80c48def6ba5e728cbe677de58
8902864fa improve linting (#85) git-subtree-dir: extensions/src/hello-world git-subtree-split: 8902864faf945d80c48def6ba5e728cbe677de58
…6fc..8902864fa 8902864fa improve linting (#85) git-subtree-dir: extensions/src/legacy-comment-manager git-subtree-split: 8902864faf945d80c48def6ba5e728cbe677de58
…fc..8902864fa 8902864fa improve linting (#85) git-subtree-dir: extensions/src/paratext-registration git-subtree-split: 8902864faf945d80c48def6ba5e728cbe677de58
….8902864fa 8902864fa improve linting (#85) git-subtree-dir: extensions/src/platform-scripture git-subtree-split: 8902864faf945d80c48def6ba5e728cbe677de58
…51c6fc..8902864fa 8902864fa improve linting (#85) git-subtree-dir: extensions/src/platform-scripture-editor git-subtree-split: 8902864faf945d80c48def6ba5e728cbe677de58
8902864fa improve linting (#85) git-subtree-dir: extensions/src/quick-verse git-subtree-split: 8902864faf945d80c48def6ba5e728cbe677de58
- use the TS version of `class-methods-use-this` so we can ignore override methods.
51c8c52
to
3ea429c
Compare
Neither did I but I suspected a TS version might be able to do better so I had a look. |
class-methods-use-this
so we can ignore override methods.Note
import/no-anonymous-default-export
was moved to it's alphabetical location.ignoreClassesThatImplementAnInterface
is explicitly false as it will ignore ALL methods if a class implements an interface, not just the ones in the interface. Eslint exception comments will keep these intentional.This change is