Skip to content

Instantly share code, notes, and snippets.

@joshuacrass
Created September 18, 2018 08:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshuacrass/3d90be39ffc7c7f63d920901b2d08eaa to your computer and use it in GitHub Desktop.
Save joshuacrass/3d90be39ffc7c7f63d920901b2d08eaa to your computer and use it in GitHub Desktop.
react-flow eslint
{
"extends": ["airbnb", "prettier", "prettier/flowtype", "prettier/react"],
"plugins": ["flowtype", "react", "prettier"],
"parser": "babel-eslint",
"rules": {
"react/jsx-filename-extension": [
1,
{
"extensions": [".js", "jsx"]
}
],
"prettier/prettier": "error",
"max-len": ["error", 80]
},
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"webpack": {
"config": "./config/webpack-common-config.js"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment