Skip to content

Instantly share code, notes, and snippets.

@brittanydionigi
Last active April 18, 2018 13:47
Show Gist options
  • Save brittanydionigi/860f521de95c27b8d07aff8f2f27485e to your computer and use it in GitHub Desktop.
Save brittanydionigi/860f521de95c27b8d07aff8f2f27485e to your computer and use it in GitHub Desktop.
Mod3 ESLint
{
"parser": "babel-eslint",
"extends": [
"eslint:recommended",
"plugin:react/recommended"
],
"plugins": [
"react"
],
"env": {
"browser": true,
"mocha": true,
"node": true,
"es6": true
},
// Having a problem with one of these rules? Learn more about it here: https://eslint.org/docs/rules/
"rules": {
"eqeqeq": ["error", "always"],
"getter-return": ["error", { "allowImplicit": true }],
"indent": ["warn", 2],
"no-template-curly-in-string": "error",
"semi": ["error", "always"],
"array-bracket-spacing": ["error", "never"],
"block-spacing": ["error", "always"],
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
"camelcase": "warn",
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"computed-property-spacing": ["error", "never"],
"func-call-spacing": ["error", "never"],
"keyword-spacing": ["error", { "before": true, "after": true }],
"max-len": ["warn", 80],
"no-duplicate-imports": "error",
"id-length": "error",
"id-blacklist": ["error", "data", "err", "e", "cb", "callback", "payload", "obj", "arr"],
"max-depth": ["warn", 4]
},
"globals": {
"expect": true
}
}
@mlimberg
Copy link

mlimberg commented Oct 3, 2017

Missing comma on line 32 FYI got the error when running it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment