Created
November 5, 2019 18:41
-
-
Save ivanlhz/bef22a2ce77647e2dc7a1d77b29c9597 to your computer and use it in GitHub Desktop.
Base eslint + prettier + jest config no typescript
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"jest": true, | |
"es6": true | |
}, | |
"plugins": ["react", "import"], | |
"parserOptions": { | |
"ecmaVersion": 2018, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"settings": { | |
"react": { | |
"version": "detect" | |
} | |
}, | |
"extends": ["plugin:prettier/recommended", "eslint:recommended", "plugin:react/recommended"], | |
"rules": { | |
"import/first": "error", | |
"no-console": "warn" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment