Fix tslint.json styles (#4219)

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-02-13 23:43:55 +09:00 committed by GitHub
parent b165b90c40
commit 3548290ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,15 +7,15 @@
"jsRules": {}, "jsRules": {},
"rules": { "rules": {
"align": false, "align": false,
"indent": ["tab"], "indent": [true, "tabs"],
"quotemark": ["single"], "quotemark": [true, "single"],
"no-var-requires": false, "no-var-requires": false,
"no-string-throw": false, "no-string-throw": false,
"trailing-comma": [false], "trailing-comma": [false],
"object-literal-sort-keys": false, "object-literal-sort-keys": false,
"curly": false, "curly": false,
"no-console": [false], "no-console": [false],
"no-empty":false, "no-empty": false,
"ordered-imports": [false], "ordered-imports": [false],
"arrow-parens": false, "arrow-parens": false,
"array-type": [true, "array"], "array-type": [true, "array"],
@ -31,11 +31,12 @@
"max-classes-per-file": false, "max-classes-per-file": false,
"member-ordering": [false], "member-ordering": [false],
"ban-types": [ "ban-types": [
true,
"Object" "Object"
], ],
"ban": [ "ban": [
true, true,
{"name": ["*", "forEach"], "message": "Use for-of loop instead."} { "name": ["*", "forEach"], "message": "Use for-of loop instead." }
], ],
"no-duplicate-string": false, "no-duplicate-string": false,
"no-commented-code": false, "no-commented-code": false,