ricardofbarros / linter-js-standard

Atom linter plugin for JavaScript, using JavaScript Standard Style
https://atom.io/packages/linter-js-standard
MIT License
99 stars 48 forks source link

Disable when .jshintrc file is available #56

Closed gillesdemey closed 9 years ago

gillesdemey commented 9 years ago

I'd be awesome to have an option that disables the Standard linter when a .jshintrc file is in the project.

I'm using Standard for most of my personal projects and JSHint for some others (mostly work related or older projects) — and switching between linters is currently a pain.

ricardofbarros commented 9 years ago

Hello, yeah it does make sense. But why don't you configure honorStyleSettings to true so that your plugin will only lint your files if it finds standard, semistandard, hapiness in your package.json devDependencies.

gillesdemey commented 9 years ago

Isn't it called checkStyleDevDependencies? That's what I'm deducing from the README :)

Either way that's a good solution to my problem, it just requires some configuration.

ricardofbarros commented 9 years ago

Yes, you're correct. Sorry I must have confused the settings.

ricardofbarros commented 9 years ago

Does this workflow work for you or do you need this feature implemented?

gillesdemey commented 9 years ago

Yea this works, thanks!