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

How to enable eslint plugin to parse and lint xml files #173

Open
onemen opened this issue Feb 19, 2016 · 3 comments
Open

How to enable eslint plugin to parse and lint xml files #173

onemen opened this issue Feb 19, 2016 · 3 comments

Comments

@onemen
Copy link

onemen commented Feb 19, 2016

I'v recently found eslint-plugin-mozilla that is capable to lint xml files

i'v installed the plugin globally (my eslint is globally installed), and i i can use it manually to lint xml files from the command line:
eslint --plugin [eslint-plugin-mozilla] --ext .xml .

Is it possible to configure Brackets-InteractiveLinter to use eslint plugins and to show results for xml files?

@onemen onemen changed the title How enable eslint plugin to parch and lint xml files How enable eslint plugin to parse and lint xml files Feb 19, 2016
@onemen onemen changed the title How enable eslint plugin to parse and lint xml files How to enable eslint plugin to parse and lint xml files Feb 19, 2016
@MiguelCastillo
Copy link
Owner

@onemen interactive linter loads and runs eslint in process; it does not call the externally available version of eslint. This has the drawback that I have to implement any particular features where eslint would otherwise handle itself as it is the case of allowing eslint to load plugins. I am lacking some time to investigate how I can use versions of eslint in system. I am open to suggestions and PRs. :)

@onemen
Copy link
Author

onemen commented Feb 24, 2016

@MiguelCastillo
Copy link
Owner

yeah - that's one of the other way of doing it. That's the approach I describe in this other thread you got going on. #166

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

2 participants