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 check with additional rules #1169

Closed
CCFenner opened this issue Jul 26, 2018 · 4 comments

Comments

@CCFenner
Copy link

commented Jul 26, 2018

We would like to use StandardJS for our development.
Currently we have ESLint in place with a custom rules plugin. Can I run the additional rules with StandardJS also or should I execute StandardJS and ESLint for custom rules only?

@LinusU

This comment has been minimized.

Copy link
Member

commented Jul 26, 2018

I think you should be able to add this to your package.json:

  "standard": {
    "plugins": [ "...", "..." ]
  }
@CCFenner

This comment has been minimized.

Copy link
Author

commented Jul 26, 2018

Thanks, and the plugin needs to provide the activated configuration?

@LinusU

This comment has been minimized.

Copy link
Member

commented Jul 26, 2018

To be honest, I'm not exactly familiar with how plugins work in eslint. If it activates the rules automatically it should probably work, if not you can either use standardx or use eslint directly by extending eslint-config-standard.

@CCFenner

This comment has been minimized.

Copy link
Author

commented Aug 13, 2018

Solved this by creating a fork on standard and changing the eslintrc.json file to our needs.

@CCFenner CCFenner closed this Aug 13, 2018

@lock lock bot locked as resolved and limited conversation to collaborators Nov 11, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
2 participants
You can’t perform that action at this time.