-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow d2-style to print warnings from ESLint. Set a zero tolerance on warnings by making ESLint exit with a non-zero code if there are any warnings. A developer is required to either: a) fix the warning b) explicitly mark the code that triggered the warning with an eslint-disable comment. A good disable directive uses the comment syntax for ESLint: /* eslint-disable [rule] -- [comment] */ E.g. /* eslint-disable-next-line no-console -- we need to log here */
- Loading branch information
Showing
3 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
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
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
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