Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"env": {
"node": true,
"browser": true,
"es6": true,
"jest": true
},
"extends": [
"eslint:recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module"
},
"plugins": [
"react"
],
"globals": {
},
"rules": {
"react/jsx-uses-vars": 1,
"react/jsx-uses-react": 1,
"strict": 0,
"no-console": [
"warn", {
"allow": [ "error", "info" ]
}
],
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^__",
"argsIgnorePattern": "^__"
}
],
"indent": [
"warn",
2,
{"SwitchCase": 1}
],
"semi": [
"error",
"always"
],
"no-debugger": "off",
"comma-dangle": ["warn", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline"
}],
"key-spacing": ["warn", {
"beforeColon": false,
"afterColon": true
}]
},
"overrides": [
{
"files": [ "*.test.js" ],
"rules": {
"no-console": "off"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment