122 lines
2.5 KiB
JSON
122 lines
2.5 KiB
JSON
{
|
|
"rules": {
|
|
"align": [
|
|
true,
|
|
"parameters",
|
|
"arguments",
|
|
"statements"
|
|
],
|
|
"ban": false,
|
|
"class-name": true,
|
|
"comment-format": [
|
|
true,
|
|
"check-space"
|
|
],
|
|
"curly": false,
|
|
"eofline": true,
|
|
"forin": false,
|
|
"indent": [
|
|
true,
|
|
"spaces"
|
|
],
|
|
"interface-name": false,
|
|
"jsdoc-format": true,
|
|
"label-position": true,
|
|
"label-undefined": true,
|
|
"max-line-length": [
|
|
true,
|
|
180
|
|
],
|
|
"member-access": true,
|
|
"member-ordering": [false],
|
|
"no-any": false,
|
|
"no-arg": true,
|
|
"no-bitwise": true,
|
|
"no-conditional-assignment": true,
|
|
"no-consecutive-blank-lines": true,
|
|
"no-console": [false],
|
|
"no-construct": false,
|
|
"no-constructor-vars": false,
|
|
"no-debugger": true,
|
|
"no-duplicate-key": true,
|
|
"no-duplicate-variable": true,
|
|
"no-empty": true,
|
|
"no-eval": true,
|
|
"no-inferrable-types": false,
|
|
"no-internal-module": 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-variable": [
|
|
true,
|
|
"check-parameters",
|
|
{ "ignore-pattern": "^ng*|^on*" }
|
|
],
|
|
"no-use-before-declare": true,
|
|
"no-var-keyword": true,
|
|
"no-var-requires": true,
|
|
"object-literal-sort-keys": false,
|
|
"one-line": [
|
|
true,
|
|
"check-open-brace",
|
|
"check-whitespace"
|
|
],
|
|
"quotemark": [
|
|
true,
|
|
"single",
|
|
"avoid-escape"
|
|
],
|
|
"radix": false,
|
|
"semicolon": true,
|
|
"switch-default": false,
|
|
"trailing-comma": [
|
|
true,
|
|
{
|
|
"multiline": "never",
|
|
"singleline": "never"
|
|
}
|
|
],
|
|
"triple-equals": [true],
|
|
"typedef": [
|
|
true,
|
|
"call-signature",
|
|
"parameter",
|
|
"property-declaration",
|
|
"variable-declaration",
|
|
"member-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": [
|
|
true,
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"ban-keywords"
|
|
],
|
|
"whitespace": [
|
|
true,
|
|
"check-branch",
|
|
"check-decl",
|
|
"check-operator",
|
|
"check-separator",
|
|
"check-type"
|
|
]
|
|
}
|
|
}
|