Last active
July 26, 2020 06:22
-
-
Save HiroshiHara/81e2722d6bc253834011d5d36a21a705 to your computer and use it in GitHub Desktop.
.eslitrc.json for React development
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
Show hidden characters
{ | |
"parser": "babel-eslint", | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended", | |
"plugin:jest/recommended" | |
], | |
"plugins": ["babel", "react", "flowtype", "jest"], | |
"parserOptions": {}, | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"globals": {}, | |
"rules": { | |
"react/jsx-uses-react": 1 | |
// "prettier/prettier": "error" | |
}, | |
"settings": { | |
"react": { | |
"createClass": "createReactClass", | |
"pragma": "React", | |
"version": "detect" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment