-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* New: Fixable disable directives * Part of the way there: not ready yet * Generally fixed up, and just started on unit tests * lodash.flatMap * Merge branch 'master' * Progress... * Fixed the remaining pre-existing unit tests * Fixed up some tests * unprocessedDirective.parentComment * Avoided rescan by passing commentToken in parentComment * A lil edge case * Fix directive grouping the other direction * Incorrect state directive reference * Simplified parentComment / commentToken range * Use Map in lib/linter/apply-disable-directives.js Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Used suggestion for individual directives removal * Boolean in lib/cli-engine/cli-engine.js Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Docs fixups * Added tests * Tests and fix for multiple rule lists * Remove unused sourceCode from tests * Added high-level test in linter.js * Apply suggestions from code review Co-authored-by: Brandon Mills <btmills@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> * Added require * Wrong order... * Also mention in command-line-interface.md * Respect disableFixes (not yet tested) * Fixed up existing tests * Add unit test for options.disableFixes * Apply suggestions from code review Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> Co-authored-by: Milos Djermanovic <milos.djermanovic@gmail.com> Co-authored-by: Brandon Mills <btmills@users.noreply.github.com>
- Loading branch information
1 parent
4a7aab7
commit 1d2213d
Showing
11 changed files
with
1,210 additions
and
150 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
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
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
Oops, something went wrong.