Skip to content

Instantly share code, notes, and snippets.

@francajosejunior
Created September 27, 2019 02:24
Show Gist options
  • Save francajosejunior/aecd01b873597cfea04e87089368b985 to your computer and use it in GitHub Desktop.
Save francajosejunior/aecd01b873597cfea04e87089368b985 to your computer and use it in GitHub Desktop.
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"plugins": [
"react"
],
"rules": {
"quotes": [
"warn",
"single"
],
"jsx-quotes": [
"warn",
"prefer-double"
],
"semi": [
"warn",
"always",
{
"omitLastInOneLineBlock": true
}
],
"no-var": "error",
"no-console": "off",
"no-unused-vars": "warn",
"no-case-declarations": "off",
"react/prop-types": "off",
"react/display-name": "off",
"react/jsx-no-undef": [
"error",
{
"allowGlobals": true
}
],
"react/no-unescaped-entities": "off"
},
"globals": {
"$": true,
"DEBUG": true,
"HOMOLOGA": true,
"PRODUCTION": true
}
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment