ricardofbarros / linter-js-standard

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

Is there an alternative to disable/enable when switching to/from standard projects? #172

Closed justin-calleja closed 7 years ago

justin-calleja commented 7 years ago

I'm using Standard for my new projects. The only problem is, when I work on old project's or other people's projects, I end up having to disable this plugin as it litters the codebase with warnings (these projects do have their own .eslintrc / .eslintrc.json files).

Is there a way to avoid this? Or will there be future support for auto-detecting this (e.g. standard in devDependencies) and auto-enable/disable?

ricardofbarros commented 7 years ago

Hey @justin-calleja, if you don't have standard as dependency on those projects you could easily disable it, by ticking checkStyleDevDependencies option to true.

justin-calleja commented 7 years ago

Thanks @ricardofbarros

I ticked "Check for standard" under "Settings" (for other's ref)