Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linter engine doesn't receive filepath information. #212

Closed
rostislav-simonik opened this issue Nov 18, 2017 · 1 comment
Closed

Linter engine doesn't receive filepath information. #212

rostislav-simonik opened this issue Nov 18, 2017 · 1 comment

Comments

@rostislav-simonik
Copy link
Contributor

In linter-js-standard.js line 20

settings.style.lintText(fileContent, settings.opts, boundLinter)

settings.opts doesn't contain filename variable which allows linter engine properly retrieve .eslintrc file.

It's necessary if I want to use standardx (allows overwrite standard rules through .eslintrc) as linter.

Honor Style Settings enabled with following package.json configuration

"standard": {
    "linter": "standardx",
    "parser": "babel-eslint"
}
@rostislav-simonik
Copy link
Contributor Author

Extension available within PR #213.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant