Skip to content

Commit

Permalink
Stricter rules
Browse files Browse the repository at this point in the history
  • Loading branch information
vesse committed May 25, 2017
1 parent fd0e1f6 commit 9f14a04
Showing 1 changed file with 62 additions and 8 deletions.
70 changes: 62 additions & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,68 @@
"quotes": ["error", "single"],
"semi": ["error", "always"],
"valid-jsdoc": ["error"],
"require-jsdoc": ["error", {
"require": {
"FunctionDeclaration": true,
"MethodDefinition": true,
"ClassDeclaration": true
}
}],
"require-jsdoc": ["error"],
"object-curly-spacing": ["error", "always"],
"space-before-function-paren": ["error", "never"]
"space-before-function-paren": ["error", "never"],
"default-case": ["error"],
"guard-for-in": ["error"],
"no-caller": ["error"],
"no-empty-function": ["error"],
"no-eval": ["error"],
"no-extend-native": ["error"],
"no-extra-bind": ["error"],
"no-floating-decimal": ["error"],
"no-implied-eval": ["error"],
"no-invalid-this": ["error"],
"no-labels": ["error"],
"no-lone-blocks": ["error"],
"no-loop-func": ["error"],
"no-param-reassign": ["error"],
"no-restricted-properties": ["error"],
"no-return-assign": ["error"],
"no-self-compare": ["error"],
"no-sequences": ["error"],
"no-throw-literal": ["error"],
"no-unmodified-loop-condition": ["error"],
"no-unused-expressions": ["error", { "allowShortCircuit": true }],
"no-useless-call": ["error"],
"no-useless-concat": ["error"],
"no-useless-escape": ["error"],
"no-void": ["error"],
"no-with": ["error"],
"radix": ["error", "always"],
"no-catch-shadow": ["error"],
"no-shadow": ["error"],
"no-shadow-restricted-names": ["error"],
"no-use-before-define": ["error"],
"callback-return": ["error"],
"global-require": ["error"],
"no-mixed-requires": ["error"],
"handle-callback-err": ["error"],
"no-new-require": ["error"],
"no-path-concat": ["error"],
"no-process-exit": ["error"],
"array-bracket-spacing": ["error", "never"],
"block-spacing": ["error", "always"],
"brace-style": ["error"],
"camelcase": ["error"],
"comma-dangle": ["error", "never"],
"comma-spacing": ["error", { "before": false, "after": true }],
"comma-style": ["error", "last"],
"eol-last": ["error"],
"func-call-spacing": ["error", "never"],
"key-spacing": ["error", { "beforeColon": false }],
"keyword-spacing": ["error", { "before": true }],
"new-parens": ["error"],
"no-bitwise": ["error"],
"no-mixed-operators": ["error"],
"no-multi-assign": ["error"],
"no-trailing-spaces": ["error"],
"one-var": ["error", "never"],
"one-var-declaration-per-line": ["error"],
"space-in-parens": ["error", "never"],
"space-infix-ops": ["error"],
"spaced-comment": ["error", "always"],
"curly": ["error"]
}
}

0 comments on commit 9f14a04

Please sign in to comment.