Skip to content

Instantly share code, notes, and snippets.

@chadwilken
Created October 24, 2017 19:44
Show Gist options
  • Save chadwilken/c96359e875243fdb57ba9aaaac17d953 to your computer and use it in GitHub Desktop.
Save chadwilken/c96359e875243fdb57ba9aaaac17d953 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"extends": "airbnb",
"globals": {
"alert": true,
"document": true,
"FormData": true,
"window": true
},
"plugins": [
"react"
],
"rules": {
"arrow-body-style": [0],
"arrow-parens": [2, "always"],
"import/no-unresolved": [2, { ignore: ['.+'] }],
"import/no-extraneous-dependencies": [0],
"import/extensions": [0],
"import/prefer-default-export": [0],
"jsx-a11y/anchor-is-valid": [0],
"no-alert": [0],
"no-underscore-dangle": [0],
"no-script-url": [0],
"new-cap": [0],
"no-unused-expressions": [1, { "allowShortCircuit": true, "allowTernary": true }],
"no-undef": 1,
"prefer-destructuring": [2, { "array": false }],
"max-len": [1, {"code": 100, "ignorePattern": "\\s*const\\s.+\\s=\\s\\/.+\/[igm]*;", "ignoreComments": true}],
"react/prop-types": [0]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment