|
@@ -0,0 +1,153 @@
|
|
|
+{
|
|
|
+ "rules": {
|
|
|
+ "align": [
|
|
|
+ true,
|
|
|
+ "parameters",
|
|
|
+ "statements"
|
|
|
+ ],
|
|
|
+ "ban": [
|
|
|
+ true,
|
|
|
+ [ "_", "forEach" ],
|
|
|
+ [ "_", "each" ],
|
|
|
+ [ "$", "each" ],
|
|
|
+ [ "angular", "forEach" ]
|
|
|
+ ],
|
|
|
+ "class-name": true,
|
|
|
+ "comment-format": [
|
|
|
+ true,
|
|
|
+ "check-space"
|
|
|
+ ],
|
|
|
+ "curly": true,
|
|
|
+ "eofline": true,
|
|
|
+ "forin": false,
|
|
|
+ "indent": [
|
|
|
+ true,
|
|
|
+ "spaces"
|
|
|
+ ],
|
|
|
+ "interface-name": [
|
|
|
+ true,
|
|
|
+ "always-prefix"
|
|
|
+ ],
|
|
|
+ "jsdoc-format": true,
|
|
|
+ "label-position": true,
|
|
|
+ "label-undefined": true,
|
|
|
+ "max-line-length": [
|
|
|
+ false
|
|
|
+ ],
|
|
|
+ "member-access": false,
|
|
|
+ "member-ordering": [
|
|
|
+ false
|
|
|
+ ],
|
|
|
+ "new-parens": true,
|
|
|
+ "no-angle-bracket-type-assertion": true,
|
|
|
+ "no-any": false,
|
|
|
+ "no-arg": true,
|
|
|
+ "no-bitwise": true,
|
|
|
+ "no-conditional-assignment": true,
|
|
|
+ "no-consecutive-blank-lines": false,
|
|
|
+ "no-console": [
|
|
|
+ true,
|
|
|
+ "debug",
|
|
|
+ "info",
|
|
|
+ "time",
|
|
|
+ "timeEnd",
|
|
|
+ "trace"
|
|
|
+ ],
|
|
|
+ "no-construct": true,
|
|
|
+ "no-constructor-vars": true,
|
|
|
+ "no-debugger": true,
|
|
|
+ "no-default-export": true,
|
|
|
+ "no-duplicate-key": true,
|
|
|
+ "no-duplicate-variable": true,
|
|
|
+ "no-empty": true,
|
|
|
+ "no-eval": true,
|
|
|
+ "no-inferrable-types": false,
|
|
|
+ "no-internal-module": true,
|
|
|
+ "no-invalid-this": [
|
|
|
+ true,
|
|
|
+ "check-function-in-method"
|
|
|
+ ],
|
|
|
+ "no-null-keyword": false,
|
|
|
+ "no-reference": true,
|
|
|
+ "no-require-imports": false,
|
|
|
+ "no-shadowed-variable": true,
|
|
|
+ "no-string-literal": false,
|
|
|
+ "no-switch-case-fall-through": true,
|
|
|
+ "no-trailing-whitespace": true,
|
|
|
+ "no-unreachable": true,
|
|
|
+ "no-unused-expression": true,
|
|
|
+ "no-unused-variable": true,
|
|
|
+ "no-use-before-declare": false,
|
|
|
+ "no-var-keyword": true,
|
|
|
+ "no-var-requires": true,
|
|
|
+ "object-literal-sort-keys": false,
|
|
|
+ "one-line": [
|
|
|
+ true,
|
|
|
+ "check-open-brace",
|
|
|
+ "check-catch",
|
|
|
+ "check-else",
|
|
|
+ "check-finally",
|
|
|
+ "check-whitespace"
|
|
|
+ ],
|
|
|
+ "one-variable-per-declaration": [true,
|
|
|
+ "ignore-for-loop"
|
|
|
+ ],
|
|
|
+ "quotemark": [
|
|
|
+ true,
|
|
|
+ "single",
|
|
|
+ "avoid-escape"
|
|
|
+ ],
|
|
|
+ "radix": true,
|
|
|
+ "semicolon": [true, "always"],
|
|
|
+ "switch-default": true,
|
|
|
+ "trailing-comma": [
|
|
|
+ false,
|
|
|
+ {
|
|
|
+ "multiline": "never",
|
|
|
+ "singleline": "never"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "triple-equals": [
|
|
|
+ true,
|
|
|
+ "allow-null-check",
|
|
|
+ "allow-undefined-check"
|
|
|
+ ],
|
|
|
+ "typedef": [
|
|
|
+ false
|
|
|
+ ],
|
|
|
+ "typedef-whitespace": [
|
|
|
+ false,
|
|
|
+ {
|
|
|
+ "call-signature": "nospace",
|
|
|
+ "index-signature": "nospace",
|
|
|
+ "parameter": "nospace",
|
|
|
+ "property-declaration": "nospace",
|
|
|
+ "variable-declaration": "nospace"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ "call-signature": "space",
|
|
|
+ "index-signature": "space",
|
|
|
+ "parameter": "space",
|
|
|
+ "property-declaration": "space",
|
|
|
+ "variable-declaration": "space"
|
|
|
+ }
|
|
|
+ ],
|
|
|
+ "use-isnan": true,
|
|
|
+ "use-strict": [
|
|
|
+ false
|
|
|
+ ],
|
|
|
+ "variable-name": [
|
|
|
+ true,
|
|
|
+ "check-format",
|
|
|
+ "allow-leading-underscore",
|
|
|
+ "ban-keywords"
|
|
|
+ ],
|
|
|
+ "whitespace": [
|
|
|
+ true,
|
|
|
+ "check-branch",
|
|
|
+ "check-operator",
|
|
|
+ "check-separator",
|
|
|
+ "check-type"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+}
|