Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
standard-engine@7 restores the asynchronous lintText() of standard-engine@5, and adds a new lintTextSync() method. This commit uses either lintTextSync() or the asynchronous lintText(). Support for the standard-engine@6 behavior is removed. Presumably it wasn't widely deployed, and it's a whole bunch of complex logic to maintain.
- Loading branch information
1 parent
fb4ec3a
commit 7a983f2
Showing
5 changed files
with
15 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
exports.lintText = (source, opts) => { | ||
exports.lintTextSync = (source, opts) => { | ||
throw new Error('err when linting') | ||
} |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
exports.lintText = (source, opts) => { | ||
exports.lintTextSync = (source, opts) => { | ||
return { results: [] } | ||
} |
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