Skip to content

Commit 3967ca6

Browse files
committed
Merge pull request #134 from benmosher/revert-relative-filename
__RELATIVE_TO_FOLDER__ no longer needed for ESLint 2.0
2 parents a617965 + fefe32a commit 3967ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

linter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class ESLint(NodeLinter):
2323
syntax = ('javascript', 'html', 'javascriptnext', 'javascript (babel)',
2424
'javascript (jsx)', 'jsx-real', 'Vue Component', 'vue')
2525
npm_name = 'eslint'
26-
cmd = ('eslint', '--format', 'compact', '--stdin', '--stdin-filename', '__RELATIVE_TO_FOLDER__')
26+
cmd = ('eslint', '--format', 'compact', '--stdin', '--stdin-filename', '@')
2727
version_args = '--version'
2828
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
2929
version_requirement = '>= 1.0.0'

0 commit comments

Comments
 (0)