Skip to content

Instantly share code, notes, and snippets.

@lfades
Created September 25, 2018 14:31
Show Gist options
  • Save lfades/8a18e09638ba38b55f3fb12a23c23651 to your computer and use it in GitHub Desktop.
Save lfades/8a18e09638ba38b55f3fb12a23c23651 to your computer and use it in GitHub Desktop.
My personal linter config
{
"extends": [
"airbnb",
"prettier",
"prettier/react"
],
"plugins": [
"prettier"
],
"parser": "babel-eslint",
"env" : {
"browser": true,
"node": true
},
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": true
}
],
"no-console": "off",
"consistent-return": "off",
"no-underscore-dangle": "off",
"react/react-in-jsx-scope": "off",
"react/no-unescaped-entities": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".js",
".jsx"
]
}
],
"import/prefer-default-export": "off",
"jsx-a11y/label-has-for": "off"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment