Last active
September 21, 2018 09:40
-
-
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)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{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