Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

HTML gets parsed by linter-jshint / add option to only lint .js files #50

Closed
jelmerdemaat opened this issue Feb 17, 2015 · 3 comments
Closed
Labels

Comments

@jelmerdemaat
Copy link

Issue
For some reason, my HTML documents also get parsed by linter-jshint, and I don't see any option to give some file type inclusions/exclusions to jshint. See also the screenshot below.

My HTML uses grunt-include-replace, the syntax of which linter-jshint seems to incorrectly flag as "wrong JavaScript".

What would solve this for me
Don't let HTML be parsed by linter-jshit, or give a settings possibility to include/exclude file types.

Screenshot
image

Technical details
Atom version 179
Windows 7

$ apm -v
apm  0.137.0
npm  2.3.0
node 0.10.35
git 1.9.5.msysgit.0

$ apm list
advanced-new-file@0.3.3
atom-color-highlight@3.0.8
auto-indent@0.1.0
autocomplete-paths@1.0.2
autocomplete-plus@2.1.6
caniuse@0.5.3
emmet@2.3.3
linter@0.11.1
linter-jscs@1.5.0
linter-jshint@0.1.0
linter-php@0.0.11
merge-conflicts@1.2.10
minimap@4.2.2
pretty-json@0.3.2
seti-ui@0.6.3
@jelmerdemaat
Copy link
Author

Still experiencing this, any thoughts?

@tjdraper
Copy link

I'm experiencing this as well. It makes it frustrating for templating curly braces in CMS HTML files. Really need a way to disable.

@steelbrain
Copy link
Contributor

Fixed

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

No branches or pull requests

4 participants