Skip to content

Instantly share code, notes, and snippets.

@mec
Last active March 30, 2018 12:10
Show Gist options
  • Save mec/c1775a4736fd7bbe9effa434f016302d to your computer and use it in GitHub Desktop.
Save mec/c1775a4736fd7bbe9effa434f016302d to your computer and use it in GitHub Desktop.
Get eslint to lint for prettier
"eslintConfig": {
"extends": "standard",
"env": {
"node": true
},
"rules": {
"semi": [
2,
"always"
],
"no-extra-semi": 2,
"space-before-function-paren": ["error", "never"]
}
}
npm i eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard --save-dev
@mec
Copy link
Author

mec commented Nov 2, 2017

Updated to match Prettier.

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