Last active
June 30, 2018 11:30
-
-
Save matheusnascgomes/37c80d825f20f5908f2c0a2b47cb3ccb to your computer and use it in GitHub Desktop.
Configuração padrão do Eslint
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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