Skip to content

Instantly share code, notes, and snippets.

@pcflmb
Created June 2, 2016 22:28
Show Gist options
  • Save pcflmb/ab5c46dc8d6be6e396294305f22d1aa1 to your computer and use it in GitHub Desktop.
Save pcflmb/ab5c46dc8d6be6e396294305f22d1aa1 to your computer and use it in GitHub Desktop.
Hound Setup
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"rules": {
"accessor-pairs": 0,
"brace-style": [2, "1tbs"],
"comma-spacing": 2,
"comma-dangle": [2, "always-multiline"],
"consistent-return": 2,
"dot-location": [2, "property"],
"dot-notation": 2,
"eol-last": 2,
"eqeqeq": [2, "allow-null"],
"indent": [2, 2, { "SwitchCase": 1 }],
"jsx-quotes": [2, "prefer-double"],
"keyword-spacing": 2,
"no-bitwise": 0,
"no-multi-spaces": 2,
"no-restricted-syntax": [2, "WithStatement"],
"no-shadow": 2,
"no-unused-expressions": 2,
"no-unused-vars": [2, { "args": "none" }],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "never"],
"space-before-blocks": 2,
"space-before-function-paren": 2,
"space-infix-ops": 2,
"strict": [2, "global"],
"linebreak-style": [2, "unix"],
"no-console": [2, { "allow": ["log"] }]
}
}
javascript:
enabled: false
eslint:
enabled: true
config_file: .eslintrc.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment