Skip to content

Instantly share code, notes, and snippets.

@chakrakan
Created April 26, 2022 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chakrakan/bb70939cf25a1d2688e9c6948616639f to your computer and use it in GitHub Desktop.
Save chakrakan/bb70939cf25a1d2688e9c6948616639f to your computer and use it in GitHub Desktop.
Next eslint config
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"next/core-web-vitals",
"plugin:react/recommended",
"google",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
"react/react-in-jsx-scope": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment