Skip to content

Instantly share code, notes, and snippets.

@matheusnascgomes
Last active June 30, 2018 11:30
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 matheusnascgomes/37c80d825f20f5908f2c0a2b47cb3ccb to your computer and use it in GitHub Desktop.
Save matheusnascgomes/37c80d825f20f5908f2c0a2b47cb3ccb to your computer and use it in GitHub Desktop.
Configuração padrão do Eslint
{
"extends": "airbnb",
"env": {
"browser": true,
"jest": true
},
"plugins": ["react", "jsx-a11y", "import"],
"rules": {
"react/jsx-one-expression-per-line": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [".js", ".jsx"]
}
],
"global-require": "off",
"import/prefer-default-export": "off",
"no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
],
"no-unused-expressions": [
"error",
{
"allowTaggedTemplates": true
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment