|
@@ -0,0 +1,86 @@
|
|
|
+{
|
|
|
+ "rules": {
|
|
|
+ "ban": false,
|
|
|
+ "class-name": true,
|
|
|
+ "comment-format": [true,
|
|
|
+ "check-space",
|
|
|
+ "check-lowercase"
|
|
|
+ ],
|
|
|
+ "curly": false,
|
|
|
+ "eofline": true,
|
|
|
+ "forin": true,
|
|
|
+ "indent": [true, 2],
|
|
|
+ "interface-name": true,
|
|
|
+ "jsdoc-format": true,
|
|
|
+ "label-position": true,
|
|
|
+ "label-undefined": true,
|
|
|
+ "max-line-length": [true, 140],
|
|
|
+ "member-ordering": [true,
|
|
|
+ "public-before-private",
|
|
|
+ "static-before-instance",
|
|
|
+ "variables-before-functions"
|
|
|
+ ],
|
|
|
+ "no-any": false,
|
|
|
+ "no-arg": true,
|
|
|
+ "no-bitwise": true,
|
|
|
+ "no-console": [true,
|
|
|
+ "debug",
|
|
|
+ "info",
|
|
|
+ "time",
|
|
|
+ "timeEnd",
|
|
|
+ "trace"
|
|
|
+ ],
|
|
|
+ "no-construct": true,
|
|
|
+ "no-constructor-vars": true,
|
|
|
+ "no-debugger": true,
|
|
|
+ "no-duplicate-key": true,
|
|
|
+ "no-duplicate-variable": true,
|
|
|
+ "no-empty": true,
|
|
|
+ "no-eval": true,
|
|
|
+ "no-string-literal": true,
|
|
|
+ "no-switch-case-fall-through": true,
|
|
|
+ "no-trailing-comma": true,
|
|
|
+ "no-trailing-whitespace": true,
|
|
|
+ "no-unused-expression": true,
|
|
|
+ "no-unused-variable": true,
|
|
|
+ "no-unreachable": true,
|
|
|
+ "no-use-before-declare": true,
|
|
|
+ "no-var-requires": true,
|
|
|
+ "one-line": [true,
|
|
|
+ "check-catch",
|
|
|
+ "check-else",
|
|
|
+ "check-open-brace",
|
|
|
+ "check-whitespace"
|
|
|
+ ],
|
|
|
+ "quotemark": [true, "single"],
|
|
|
+ "radix": true,
|
|
|
+ "semicolon": true,
|
|
|
+ "triple-equals": [true, "allow-null-check"],
|
|
|
+ "typedef": [true,
|
|
|
+ "call-signature",
|
|
|
+ "member-variable-declaration",
|
|
|
+ "parameter",
|
|
|
+ "property-declaration",
|
|
|
+ "variable-declaration"
|
|
|
+ ],
|
|
|
+ "typedef-whitespace": [true, {
|
|
|
+ "call-signature": "nospace",
|
|
|
+ "index-signature": "nospace",
|
|
|
+ "parameter": "nospace",
|
|
|
+ "property-declaration": "nospace",
|
|
|
+ "variable-declaration": "nospace"
|
|
|
+ }],
|
|
|
+ "use-strict": [true,
|
|
|
+ "check-module",
|
|
|
+ "check-function"
|
|
|
+ ],
|
|
|
+ "variable-name": false,
|
|
|
+ "whitespace": [true,
|
|
|
+ "check-branch",
|
|
|
+ "check-decl",
|
|
|
+ "check-operator",
|
|
|
+ "check-separator",
|
|
|
+ "check-type"
|
|
|
+ ]
|
|
|
+ }
|
|
|
+}
|