Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

Commit

Permalink
Upgrading eslint to latest version, fixing breakages
Browse files Browse the repository at this point in the history
  • Loading branch information
natecavanaugh committed Sep 13, 2017
1 parent b354e32 commit a251742
Show file tree
Hide file tree
Showing 3 changed files with 444 additions and 1,388 deletions.
2 changes: 1 addition & 1 deletion lib/lint_js.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var runLinter = (contents, file, context) => {
var results = eslint.linter.verify(contents, config, file);

if (results.length) {
var fixedContent = SourceCodeFixer.applyFixes(eslint.linter.getSourceCode(), results);
var fixedContent = SourceCodeFixer.applyFixes(contents, results);

if (fixedContent.fixed) {
contents = fixedContent.output;
Expand Down
Loading

0 comments on commit a251742

Please sign in to comment.