Skip to content

Instantly share code, notes, and snippets.

@oimou
Created June 28, 2015 01:43
Show Gist options
  • Select an option

  • Save oimou/7544ceb3d15eb6542dc6 to your computer and use it in GitHub Desktop.

Select an option

Save oimou/7544ceb3d15eb6542dc6 to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"node": true,
"jquery": true
},
"globals": {},
"rules": {
"no-extra-strict": false,
"default-case": 2,
"no-self-compare": 2,
"no-else-return": 2,
"no-throw-literal": 2,
"no-void": 2,
"no-var": false,
"no-alert": false,
"new-cap": false,
"max-params": [1, 5],
"max-depth": [1, 3],
"max-len": [1, 80, 2],
"comma-style": [2, "last"],
"brace-style": [2, "1tbs", { "allowSingleLine": false }],
"consistent-this": false,
"space-in-brackets": [2, "never"],
"space-before-blocks": [2, "always"],
"space-after-keywords": [2, "always"],
"no-new-require": 2,
"no-lonely-if": 2,
"no-nested-ternary": 2,
"no-multiple-empty-lines": [2, {
"max": 1
}],
"no-unused-expressions": 0,
"no-use-before-define": 0,
"quotes": [2, "double"],
"no-multi-spaces": [2, {
"exceptions": {
"Property": true,
"ImportDeclaration": true,
"VariableDeclarator": true,
"AssignmentExpression": true
}
}],
"key-spacing": [2, {
"beforeColon": false,
"afterColon": true
}]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment