Skip to content

Instantly share code, notes, and snippets.

@WillieYang
Created June 14, 2019 03:40
Show Gist options
  • Save WillieYang/4020565729af0d816e7d9a97ea3795a1 to your computer and use it in GitHub Desktop.
Save WillieYang/4020565729af0d816e7d9a97ea3795a1 to your computer and use it in GitHub Desktop.
ESLint Rules Updated
{
"env": {
"browser": true,
"es6": true
},
"globals": {
"_": true
},
"parser": "babel-eslint",
"extends": [
"airbnb"
],
"rules": {
"no-debugger": "error",
"react/prefer-stateless-function": 0,
"react/forbid-prop-types": ["0", { "forbid": ["any"]}],
"no-unused-vars": 0,
"no-useless-constructor": 0,
"no-console": 0,
"no-shadow": 0,
"import/no-extraneous-dependencies": 0
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src"]
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment