Skip to content

Instantly share code, notes, and snippets.

@jonataspinto
Last active March 5, 2020 15:51
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 jonataspinto/74b2dbb540d05abbdb4e142cee992e2f to your computer and use it in GitHub Desktop.
Save jonataspinto/74b2dbb540d05abbdb4e142cee992e2f to your computer and use it in GitHub Desktop.
Configuração para eslint.
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"plugin:react/recommended",
"airbnb",
"prettier",
"prettier/react"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"prettier"
],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"prettier/prettier": "error",
"import/prefer-default-export": "off"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment