tslint-microsoft-contrib/tslint.json

144 строки
4.9 KiB
JSON
Исходник Обычный вид История

2015-08-21 08:36:28 +03:00
{
"rules": {
"align": false,
"arrow-parens": false,
"ban": false,
"chai-prefer-contains-to-index-of": true,
"chai-vague-errors": true,
"class-name": true,
"comment-format": false,
"curly": true,
"eofline": false,
"export-name": true,
"forin": true,
"function-name": true,
"import-name": true,
"indent": false,
"interface-name": false,
"jquery-deferred-must-complete": true,
"jsdoc-format": false,
"label-position": true,
"label-undefined": true,
"linebreak-style": [true, "LF"],
"max-file-line-count": false,
"max-func-body-length": [true, 100, { "ignore-parameters-to-function-regex": "describe" }],
"max-line-length": [true, 140],
"member-access": false,
"member-ordering": false,
"missing-jsdoc": true,
2015-08-21 08:36:28 +03:00
"missing-optional-annotation": true,
"mocha-avoid-only": true,
2016-05-17 10:17:09 +03:00
"new-parens": true,
"no-angle-bracket-type-assertion": false,
"no-any": false,
"no-arg": true,
"no-backbone-get-set-outside-model": true,
2015-08-21 08:36:28 +03:00
"no-banned-terms": true,
"no-bitwise": true,
"no-conditional-assignment": false,
"no-consecutive-blank-lines": false,
"no-console": [true, "debug", "info", "log", "time", "timeEnd", "trace" ],
"no-constant-condition": true,
"no-construct": true,
"no-constructor-vars": true,
"no-control-regex": true,
2015-08-21 08:36:28 +03:00
"no-cookies": true,
"no-debugger": true,
2016-05-17 10:17:09 +03:00
"no-default-export": true,
2015-08-21 08:36:28 +03:00
"no-delete-expression": true,
"no-disable-auto-sanitization": true,
"no-document-domain": true,
"no-document-write": true,
"no-duplicate-case": true,
"no-duplicate-key": true,
2015-08-21 08:36:28 +03:00
"no-duplicate-parameter-names": true,
"no-duplicate-variable": true,
"no-empty": true,
2015-10-09 17:19:34 +03:00
"no-empty-interfaces": true,
"no-empty-line-after-opening-brace": false,
"no-eval": true,
2015-08-21 08:36:28 +03:00
"no-exec-script": true,
"no-for-in": true,
"no-for-in-array": false,
2015-08-21 08:36:28 +03:00
"no-function-constructor-with-string-args": true,
"no-function-expression": true,
"no-http-string": [true, "http://www.example.com/?.*", "http://www.examples.com/?.*"],
2015-08-21 08:36:28 +03:00
"no-increment-decrement": true,
"no-inferrable-types": false,
"no-inner-html": true,
"no-internal-module": false,
"no-invalid-regexp": true,
2016-05-17 10:17:09 +03:00
"no-invalid-this": true,
"no-jquery-raw-elements": true,
"no-mergeable-namespace": false,
"no-missing-visibility-modifiers": true,
2015-08-21 08:36:28 +03:00
"no-multiline-string": true,
2015-10-23 20:30:04 +03:00
"no-multiple-var-decl": true,
2016-05-17 10:17:09 +03:00
"no-namespace": false,
"no-null-keyword": false,
2015-08-21 08:36:28 +03:00
"no-octal-literal": true,
2016-05-17 10:17:09 +03:00
"no-reference": false,
"no-regex-spaces": true,
"no-require-imports": true,
2015-08-21 08:36:28 +03:00
"no-reserved-keywords": true,
"no-shadowed-variable": false,
"no-single-line-block-comment": true,
"no-sparse-arrays": true,
"no-stateless-class": true,
2015-08-21 08:36:28 +03:00
"no-string-based-set-immediate": true,
"no-string-based-set-interval": true,
"no-string-based-set-timeout": true,
"no-string-literal": true,
"no-switch-case-fall-through": true,
"no-trailing-whitespace": true,
"no-typeof-undefined": true,
"no-unnecessary-bind": true,
"no-unnecessary-field-initialization": true,
"no-unnecessary-local-variable": true,
"no-unnecessary-override": true,
"no-unnecessary-semicolons": true,
"no-unsupported-browser-code": false,
"no-unreachable": true,
"no-unsafe-finally": true,
2015-08-21 08:36:28 +03:00
"no-unused-expression": true,
"no-unused-imports": false,
"no-unused-new": true,
"no-unused-variable": true,
2015-08-21 08:36:28 +03:00
"no-use-before-declare": true,
"no-var-keyword": true,
2015-08-21 08:36:28 +03:00
"no-var-requires": true,
"no-var-self": true,
"no-with-statement": true,
"object-literal-sort-keys": false,
"object-literal-key-quotes": [false, "as-needed"],
"one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace" ],
2016-05-17 10:17:09 +03:00
"one-variable-per-declaration": true,
"only-arrow-functions": false,
"ordered-imports": false,
"prefer-array-literal": true,
"prefer-const": true,
"prefer-type-cast": true,
"promise-must-complete": true,
2015-08-21 08:36:28 +03:00
"quotemark": [true, "single"],
"radix": false,
"react-iframe-missing-sandbox": true,
"react-no-dangerous-html": true,
"react-this-binding-issue": true,
"react-unused-props-and-state": true,
"restrict-plus-operands": false,
2015-08-21 08:36:28 +03:00
"semicolon": true,
"switch-default": false,
"trailing-comma": [true, {"singleline": "never", "multiline": "never"}],
2015-08-21 08:36:28 +03:00
"triple-equals": [true, "allow-null-check"],
"typedef": [true, "callSignature", "indexSignature", "parameter", "propertySignature", "variableDeclarator", "memberVariableDeclarator"],
"typedef-whitespace": false,
"underscore-consistent-invocation": true,
"use-isnan": true,
"use-named-parameter": true,
2015-08-21 08:36:28 +03:00
"use-strict": false,
"valid-typeof": true,
2015-08-21 08:36:28 +03:00
"variable-name": true,
"whitespace": [true, "check-branch", "check-decl", "check-operator", "check-separator", "check-type" ]
2015-08-21 08:36:28 +03:00
}
}