diff options
author | Chris Rebert <code@rebertia.com> | 2015-01-01 06:28:13 +0300 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2015-01-01 06:43:22 +0300 |
commit | 0e97ce1c2f135cf49d5c2f1ddce4ad2576a89b83 (patch) | |
tree | b34e41f6e8a07dd6ac907983a7ff0f496cae6d8f /.eslintrc |
initial checkin
Diffstat (limited to '.eslintrc')
-rw-r--r-- | .eslintrc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..69f2438 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,51 @@ + +{ + "rules": { + "block-scoped-var": 2, + "brace-style": [2, "stroustrup"], + "camelcase": 2, + "comma-spacing": [2, {"before": false, "after": true}], + "comma-style": [2, "last"], + "consistent-this": [2, "self"], + "curly": 2, + "eol-last": 2, + "eqeqeq": 2, + "key-spacing": [2, {"beforeColon": false, "afterColon": true}], + "new-cap": 2, + "new-parens": 2, + "no-array-constructor": 2, + "no-bitwise": 2, + "no-constant-condition": 0, + "no-floating-decimal": 2, + "no-inline-comments": 0, + "no-irregular-whitespace": 2, + "no-mixed-spaces-and-tabs": 2, + "no-multi-spaces": 2, + "no-multiple-empty-lines": 0, + "no-new-object": 2, + "no-process-env": 2, + "no-reserved-keys": 0, + "no-self-compare": 2, + "no-space-before-semi": 2, + "no-spaced-func": 2, + "no-trailing-spaces": 2, + "no-underscore-dangle": 0, + "no-void": 2, + "operator-assignment": [2, "always"], + "padded-blocks": 0, + "quotes": 0, + "radix": 2, + "semi": [2, "always"], + "space-after-function-name": [2, "never"], + "space-after-keywords": [2, "always", {"checkFunctionKeyword": true}], + "space-before-blocks": [2, "always"], + "space-in-brackets": [2, "never"], + "space-in-parens": [2, "never"], + "space-return-throw-case": 2, + "space-unary-ops": [2, {"words": true, "nonwords": false}], + "spaced-line-comment": [2, "always"], + "vars-on-top": 0, + "wrap-iife": [2, "inside"], + "yoda": [2, "never"] + } +} |