Last active
November 14, 2022 15:41
-
-
Save philmander/ca2143b30b3032c67f88eb3636daecaa to your computer and use it in GitHub Desktop.
ESLint Cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parseInt(10); // eslint-disable-line rule-name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// eslint disable-next-line rule-name | |
x = parseInt(10); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* eslint-disable rule-name */ | |
x++; | |
/* eslint-enable rule-name */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global Polymer, Foo */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment