yarn add -D eslint eslint-config-airbnb eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint-config-prettier eslint-plugin-prettier prettier
Created
June 22, 2020 12:10
-
-
Save yinkakun/92f4e2daf26951b219f705fd3be63606 to your computer and use it in GitHub Desktop.
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": [ | |
"react-app", | |
"airbnb", | |
"eslint:recommended", | |
"plugin:import/errors", | |
"plugin:react/recommended", | |
"prettier", | |
"prettier/react" | |
], | |
"rules": { | |
"react/prop-types": 0, | |
"no-console": 1, | |
"react/jsx-filename-extension": 0 | |
}, | |
"plugins": [ | |
"react", | |
"import", | |
"jsx-a11y", | |
"prettier" | |
], | |
"parserOptions": { | |
"ecmaVersion": 7, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true, | |
"modules": true | |
} | |
}, | |
"env": { | |
"es6": true, | |
"browser": true, | |
"node": true | |
}, | |
"settings": { | |
"react": { | |
"version": "detect" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment