Skip to content

Instantly share code, notes, and snippets.

@joshuacrass
Last active May 6, 2019 00:48
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuacrass/20a139dd7075d44dce3f4f497f89817f to your computer and use it in GitHub Desktop.
Save joshuacrass/20a139dd7075d44dce3f4f497f89817f to your computer and use it in GitHub Desktop.
package.json file for starting with eslint
{
"scripts": {
"lint": "eslint src -c .eslintrc.json --ext js,jsx"
},
"dependencies": {
"react": "^16.5.0",
"react-dom": "^16.5.0"
},
"devDependencies": {
"eslint": "^5.5.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.0.1",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-react": "^7.11.1",
"prettier": "^1.14.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment