Skip to content

Instantly share code, notes, and snippets.

@GirlBossRush
Created July 1, 2015 09:20
Show Gist options
  • Select an option

  • Save GirlBossRush/5cf11023cfcce697a408 to your computer and use it in GitHub Desktop.

Select an option

Save GirlBossRush/5cf11023cfcce697a408 to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"node": true
},
"globals": {
},
"rules": {
"brace-style": [1, "stroustrup"],
"camelcase": [1, {
"properties": "always"
}],
"comma-spacing": 1,
"comma-style": 1,
"consistent-return": 0,
"consistent-this": [2, "self"],
"eol-last": 1,
"func-style": 1,
"indent": [1, 2],
"key-spacing": 1,
"max-nested-callbacks": [1, 6],
"new-cap": 2,
"new-parens": 2,
"newline-after-var": 1,
"no-alert": 0,
"no-array-constructor": 2,
"no-continue": 1,
"no-debugger": 1,
"no-delete-var": 2,
"no-inline-comments": 0,
"no-label-var": 2,
"no-lonely-if": 1,
"no-mixed-requires": 0,
"no-mixed-spaces-and-tabs": 1,
"no-multi-spaces": 1,
"no-multiple-empty-lines": 1,
"no-nested-ternary": 1,
"no-new-object": 2,
"no-process-exit": 0,
"no-shadow": 0,
"no-shadow-restricted-names": 2,
"no-spaced-func": 1,
"no-trailing-spaces": 0,// Your editor should auto-strip spaces, instead.
"no-undef": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"no-use-before-define": 2,
"no-wrap-func": 2,
"one-var": 0,
"operator-assignment": [1, "always"],
"operator-linebreak": [1, "after"],
"padded-blocks": [1, "never"],
"quote-props": [1, "as-needed"],
"quotes": [1, "single"],
"semi": [2, "always"],
"semi-spacing": [1, {
"after": true,
"before": false
}],
"sort-vars": 0,
"space-after-keywords": [1, "always"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, "always"],
"space-in-brackets": [1, "never"],
"space-in-parens": [1, "never"],
"space-infix-ops": [1],
"space-return-throw-case": [1],
"space-unary-ops": [1],
"spaced-line-comment": [1, "always"],
"strict": 0,
"wrap-regex": 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment