Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Look at semistandard plugins for eslint #16

Closed
lance opened this issue Aug 19, 2016 · 1 comment
Closed

Look at semistandard plugins for eslint #16

lance opened this issue Aug 19, 2016 · 1 comment

Comments

@lance
Copy link
Member

lance commented Aug 19, 2016

Eslint is a more full featured tool than semistandard. We could get semstandard style enforcement using plugins on eslint. Let's figure out the best way to do this.

@lance
Copy link
Member Author

lance commented Aug 23, 2016

Pretty simple solution...

npm install -D eslint
npm install -D eslint-plugin-promise eslint-plugin-standard eslint-plugin-react 
npm install -D eslint-config-standard
npm install -D eslint-config-semistandard

Then in package.json Add this to your scripts

  "scripts": {
    "lint": "eslint .",
    // whatever else
  }

And run it with npm run lint. Easy peasy.

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

No branches or pull requests

1 participant