Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
eslint: update rules for 1.x
Browse files Browse the repository at this point in the history
  • Loading branch information
skenqbx committed Sep 17, 2015
1 parent de5422c commit ae192bb
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 1,
"no-empty-class": 2,
"no-empty-character-class": 2,
"no-extra-bind": 2,
"no-extra-semi": 2,
"no-extra-parens": 1,
Expand All @@ -17,6 +17,8 @@
"no-multi-spaces": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-path-concat": 2,
"callback-return": 1,
"no-process-exit": 2,
"no-redeclare": 2,
"no-shadow": 1,
Expand All @@ -33,23 +35,25 @@
"consistent-return": 0,
"consistent-this": [2, "self"],
"curly": [2, "all"],
"dot-notation": [2, "allowKeywords"],
"dot-notation": [2, {"allowKeywords": true}],
"eol-last": 2,
"eqeqeq": [2, "smart"],
"indent": [2, 2],
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"new-parens": 2,
"operator-linebreak": [2, "after"],
"quotes": [2, "single"],
"semi": [2, "always"],
"space-after-keywords": [2, "always"],
"space-before-blocks": [2, "always"],
"space-before-function-parentheses": [2, "never"],
"space-in-brackets": [2, "never"],
"space-before-function-paren": [2, "never"],
"object-curly-spacing": [2, "never"],
"array-bracket-spacing": [2, "never"],
"computed-property-spacing": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, {"words": true, "nonwords": false}],
"space-return-throw-case": 2,
"spaced-line-comment": [2, "always"],
"spaced-comment": [2, "always"],
"strict": [2, "global"],
"valid-typeof": 2,
"yoda": [2, "never"],
Expand Down

0 comments on commit ae192bb

Please sign in to comment.