Skip to content

Instantly share code, notes, and snippets.

@SavageWilliam
Created December 27, 2016 10:55
Show Gist options
  • Save SavageWilliam/83eb48b5e15d559d02cb550eb69de00e to your computer and use it in GitHub Desktop.
Save SavageWilliam/83eb48b5e15d559d02cb550eb69de00e to your computer and use it in GitHub Desktop.
eslint semi-standard setup
{
"extends": "standard",
"rules": {
"semi": [2, "always"],
"no-extra-semi": 2,
"semi-spacing": [2, { "before": false, "after": true }]
}
}

Installation

npm install -S eslint eslint-config-standard eslint-plugin-standard eslint-plugin-promise eslint-config-standard-react eslint-config-standard-jsx eslint-plugin-react

And use the .eslintrc file to configure.

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