Skip to content

Instantly share code, notes, and snippets.

@ArnoldZokas
Last active August 29, 2015 14:25
Show Gist options
  • Save ArnoldZokas/7eb3f4d474416a46a672 to your computer and use it in GitHub Desktop.
Save ArnoldZokas/7eb3f4d474416a46a672 to your computer and use it in GitHub Desktop.
project defaults
# EditorConfig is awesome: http://EditorConfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 4
insert_final_newline = true
[*.json]
indent_size = 2
{
"rules": {
"brace-style": 0,
"camelcase": 0,
"comma-style": [1, "last"],
"consistent-this": [1, "self"],
"eol-last": 1,
"key-spacing": 1,
"no-continue": 1,
"no-lonely-if": 1,
"no-multi-spaces": 0,
"no-multiple-empty-lines": 1,
"no-nested-ternary": 1,
"no-underscore-dangle": 0,
"no-unused-vars": 1,
"quotes": [1, "single"],
"quote-props": [1, "as-needed"],
"space-after-function-name": [1, "never"],
"space-before-blocks": [1, "always"],
"space-before-function-paren": [1, "never"],
"space-in-brackets": 0,
"space-in-parens": [1, "never"],
"space-unary-ops": [1, { "words": true, "nonwords": false }],
"spaced-line-comment": [1, "always"],
"wrap-regex": [1]
},
"env": {
"mocha": true,
"node": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment