Created
July 13, 2018 22:11
-
-
Save technoY2K/d5684932c034c831f39da6aba96df3db to your computer and use it in GitHub Desktop.
basic eslintrc file for babel/react
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
{ | |
"env": { | |
"es6": true, | |
"browser": true | |
}, | |
"parser": "babel-eslint", | |
"parserOptions": { | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"plugins": [ | |
"react" | |
], | |
"rules": { | |
"semi": ["error", "always"], | |
"no-console": 2, | |
"no-unused-vars": ["error", { "argsIgnorePattern": "(array|error|index|result)" }], | |
"react/jsx-uses-react": "error", | |
"react/jsx-uses-vars": "error" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment