Skip to content

Instantly share code, notes, and snippets.

@YurySolovyov
Created November 16, 2015 12:06
Show Gist options
  • Save YurySolovyov/69545043e7f14470a320 to your computer and use it in GitHub Desktop.
Save YurySolovyov/69545043e7f14470a320 to your computer and use it in GitHub Desktop.
{
"rules": {
"indent": [
2,
4
],
"quotes": [
2,
"single"
],
"block-spacing": [
2,
"always"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
],
"dot-notation": [
2,
{ "allowKeywords": false }
],
"no-unused-vars": [
2,
{ "vars": "local", "args": "after-used" }
],
"no-param-reassign": [
2,
{ "props": false }
],
"no-useless-concat": [
2
],
"radix": [
2
],
"one-var": [
2,
"never"
],
"yoda": [
2,
"never",
{ "exceptRange": true }
],
"comma-spacing": [
2,
{"before": false, "after": true}
],
"comma-style": [
2,
"last"
],
"quote-props": [
2,
"as-needed",
{ "keywords": true }
],
"object-curly-spacing": [
2,
"always"
],
"space-before-blocks": [
2,
"always"
],
"space-after-keywords": [
2,
"always"
]
},
"env": {
"browser": true
},
"extends": "eslint:recommended"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment