We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2618cf5 commit 1acf430Copy full SHA for 1acf430
linter.py
@@ -23,15 +23,16 @@ class ESLint(NodeLinter):
23
"""Provides an interface to the eslint executable."""
24
25
npm_name = 'eslint'
26
- cmd = 'eslint --format json --stdin --stdin-filename ${file}'
+ cmd = 'eslint --format json --stdin'
27
28
missing_config_regex = re.compile(
29
r'^(.*?)\r?\n\w*(ESLint couldn\'t find a configuration file.)',
30
re.DOTALL
31
)
32
line_col_base = (1, 1)
33
defaults = {
34
- 'selector': 'source.js - meta.attribute-with-value'
+ 'selector': 'source.js - meta.attribute-with-value',
35
+ '--stdin-filename': '${file}'
36
}
37
38
def on_stderr(self, stderr):
0 commit comments