Skip to content

Commit

Permalink
Revert "Pass filename to standard.lintText()"
Browse files Browse the repository at this point in the history
This reverts commit 64e11fd.
  • Loading branch information
sonicdoe committed Jan 2, 2018
1 parent 2f20dc3 commit 2d71917
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/linter-js-standard.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ module.exports = function (textEditor) {

var opts = config.honorStyleSettings ? styleSettings.checkStyleSettings(filePath, textEditor) : {}

opts.filename = filePath

var style = selectStyle(filePath, {
style: opts.style || config.style,
checkStyleDevDependencies: config.checkStyleDevDependencies,
Expand Down

0 comments on commit 2d71917

Please sign in to comment.