зеркало из https://github.com/microsoft/satcheljs.git
107 строки
2.8 KiB
JSON
107 строки
2.8 KiB
JSON
{
|
|
"rulesDirectory": [
|
|
"node_modules/tslint-microsoft-contrib",
|
|
"node_modules/tslint-eslint-rules/dist/rules"
|
|
],
|
|
"rules": {
|
|
"use-isnan": true,
|
|
"jquery-deferred-must-complete": true,
|
|
"missing-optional-annotation": true,
|
|
"no-backbone-get-set-outside-model": false,
|
|
"no-banned-terms": true,
|
|
"no-constant-condition": true,
|
|
"no-control-regex": true,
|
|
"no-cookies": true,
|
|
"no-delete-expression": true,
|
|
"no-document-write": true,
|
|
"no-disable-auto-sanitization": true,
|
|
"no-duplicate-case": true,
|
|
"no-duplicate-parameter-names": true,
|
|
"no-empty-interfaces": true,
|
|
"no-exec-script": true,
|
|
"no-function-constructor-with-string-args": true,
|
|
"no-function-expression": false,
|
|
"no-http-string": [true, "http://www.example.com/?.*", "http://www.examples.com/?.*"],
|
|
"no-increment-decrement": false,
|
|
"no-invalid-regexp": true,
|
|
"no-for-in": true,
|
|
"no-missing-visibility-modifiers": false,
|
|
"no-multiline-string": true,
|
|
"no-multiple-var-decl": true,
|
|
"no-unnecessary-bind": true,
|
|
"no-unnecessary-semicolons": true,
|
|
"no-octal-literal": true,
|
|
"no-regex-spaces": true,
|
|
"no-reserved-keywords": false,
|
|
"no-sparse-arrays": true,
|
|
"no-string-based-set-immediate": true,
|
|
"no-string-based-set-interval": true,
|
|
"no-string-based-set-timeout": true,
|
|
"no-with-statement": true,
|
|
"prefer-array-literal": false,
|
|
"promise-must-complete": true,
|
|
"react-no-dangerous-html": true,
|
|
"use-named-parameter": true,
|
|
"valid-typeof": true,
|
|
"class-name": true,
|
|
"curly": true,
|
|
"eofline": false,
|
|
"forin": true,
|
|
"indent": [true, "spaces"],
|
|
"label-position": true,
|
|
"max-line-length": [false],
|
|
"no-arg": true,
|
|
"no-bitwise": false,
|
|
"no-console": [
|
|
true,
|
|
"debug",
|
|
"info",
|
|
"log",
|
|
"time",
|
|
"timeEnd",
|
|
"trace"
|
|
],
|
|
"no-construct": true,
|
|
"no-debugger": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": false,
|
|
"no-eval": true,
|
|
"no-string-literal": true,
|
|
"no-switch-case-fall-through": true,
|
|
"trailing-comma": true,
|
|
"no-trailing-whitespace": true,
|
|
"no-unused-expression": false,
|
|
"no-use-before-declare": true,
|
|
"no-var-requires": false,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-catch",
|
|
"check-else",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [false],
|
|
"semicolon": [true],
|
|
"triple-equals": false,
|
|
"typedef": [
|
|
false
|
|
],
|
|
"variable-name": [
|
|
true,
|
|
"check-format",
|
|
"allow-pascal-case"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type",
|
|
"check-module"
|
|
],
|
|
|
|
"interface-name": [true, "never-prefix"],
|
|
"no-namespace": true
|
|
}
|
|
} |