Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSuggestion: make it work without package.json #249
Comments
This comment has been minimized.
This comment has been minimized.
|
How is adding a Just make a {
"standard": {
"ignore": [ "path1", "path2" ]
}
}None of the usual Please correct me if I'm misunderstanding what you're asking for. |
feross
closed this
Sep 5, 2015
This comment has been minimized.
This comment has been minimized.
|
For some reason I was thinking that if you add package.json to Meteor project it fails miserably due to generating a more "normal" node app as build step which doesn't seem to be the case. Sorry for wasting time, I should have tried it first:) |
This comment has been minimized.
This comment has been minimized.
|
No problem. You can also use the command line flag See |
Deadarius commentedSep 5, 2015
Currently if I need to specify globals/ignores etc I have to write it down in package.json, which is perfectly fine, but this is a linter for javascript and javascript doesn't necessarily mean node.js - In my concrete case I work on meteor project. Meteor has it's own pluggable linting system as part of the build process and I am writing standard plugin for it. Currently I am reading globals from file named stadard.json in project's root and it causes problem because text editors obviously don't understand it.
So suggestion is to add support for standard.json or some other file as source of "configuration" for linter?