Skip to content

Instantly share code, notes, and snippets.

@humancatfood
Created April 1, 2019 09:40
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 humancatfood/8619945278947fff2c123a0a3893542b to your computer and use it in GitHub Desktop.
Save humancatfood/8619945278947fff2c123a0a3893542b to your computer and use it in GitHub Desktop.
{
"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