Skip to content

Instantly share code, notes, and snippets.

@antonydb
Created March 27, 2017 13:30
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 antonydb/1a32129f8509306aeb182449246c51e3 to your computer and use it in GitHub Desktop.
Save antonydb/1a32129f8509306aeb182449246c51e3 to your computer and use it in GitHub Desktop.
Really basic eslintrc for react projecs
module.exports = {
"extends": "airbnb",
"plugins": [
"react",
"jsx-a11y",
"import"
],
"rules": {
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }],
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "ignore",
}]
},
"env": {
"browser": true
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment