Created
April 14, 2020 11:01
-
-
Save hadnazzar/a8c7dd400aa51759e1bb3bc752238089 to your computer and use it in GitHub Desktop.
React & nextjs eslint setup
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
{ | |
"root": true, | |
"parser": "babel-eslint", | |
"extends": [ | |
"eslint:recommended", | |
"plugin:react/recommended", | |
"plugin:import/errors", | |
"plugin:import/warnings", | |
"plugin:jsx-a11y/recommended", | |
"plugin:react-hooks/recommended", | |
"airbnb" | |
], | |
"env": { | |
"browser": true, | |
"commonjs": true, | |
"es6": true, | |
"node": true | |
}, | |
"parserOptions": { | |
"ecmaVersion": 2018, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": true | |
} | |
}, | |
"settings": { | |
"react": { | |
"version": "detect" | |
} | |
}, | |
"plugins": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment