Skip to content

Instantly share code, notes, and snippets.

@dsernst
Last active September 5, 2015 23:29
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 dsernst/f4810a3fc0be58f56a0e to your computer and use it in GitHub Desktop.
Save dsernst/f4810a3fc0be58f56a0e to your computer and use it in GitHub Desktop.
~/.eslintrc
{
"rules": {
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"comma-dangle": [1, "always-multiline"],
"indent": [1, 2],
"new-cap": 1,
"no-alert": 1,
"no-console": 1,
"no-debugger": 1,
"no-dupe-args": 2,
"no-empty": 1,
"no-extra-parens": 1,
"no-extra-semi": 1,
"no-irregular-whitespace": 2,
"no-invalid-regexp": 1,
"no-mixed-spaces-and-tabs": 1,
"no-redeclare": 1,
"no-undef": 2,
"no-underscore-dangle": 1,
"no-unreachable": 2,
"no-unused-vars": 2,
"no-use-before-define": 1,
"no-useless-concat": 1,
"quotes": [1, "single"],
"radix": 1,
"semi": [1, "never"],
"valid-typeof": 2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment