Skip to content

Instantly share code, notes, and snippets.

@jastuccio
Last active September 21, 2018 09:40
Show Gist options
  • Save jastuccio/62a97cdedbb79eb57c9c2356a010c973 to your computer and use it in GitHub Desktop.
Save jastuccio/62a97cdedbb79eb57c9c2356a010c973 to your computer and use it in GitHub Desktop.
leveluptutorials eslint.rc (leveluptutorials.com/tutorials/react-16-for-everyone/eslinting-react-and-why-it-matters)
{module.exports = {
"parser": "babel-eslint",
"env": {
"browser": true,
"es6": true
},
"settings": {
"ecmascript": 6,
"jsx": true
},
"parserOptions": {
"ecmaVersion": 2017,
"ecmaFeatures": {
"experimentalObjectRestSpread": true,
"experimentalDecorators": true,
"jsx": true
},
"sourceType": "module"
},
"plugins": [
"react",
],
"extends": "airbnb",
"rules": {
"react/jsx-filename-extension": 0,
"function-paren-newline": 0
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment