Skip to content

Instantly share code, notes, and snippets.

@red-star25
Created September 13, 2021 14:36
Show Gist options
  • Save red-star25/d2e2c2787e7a4db7259e0c2745745cc1 to your computer and use it in GitHub Desktop.
Save red-star25/d2e2c2787e7a4db7259e0c2745745cc1 to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended"],
"settings": {
"react": {
"version": "detect"
}
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": ["react"],
"rules": {
"react/react-in-jsx-scope": "off",
"indent": ["error", 4],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double"],
"semi": ["error", "always"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment