1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-12-01 16:28:33 +09:00
misskey/tslint.json
Aya Morisawa 125849673a
Use for-of instead of forEach (#3583)
Co-authored-by: syuilo <syuilotan@yahoo.co.jp>
Co-authored-by: Acid Chicken (硫酸鶏) <root@acid-chicken.com>
2018-12-11 20:36:55 +09:00

42 lines
940 B
JSON

{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {
"align": false,
"indent": ["tab"],
"quotemark": ["single"],
"no-var-requires": false,
"no-string-throw": false,
"trailing-comma": [false],
"object-literal-sort-keys": false,
"curly": false,
"no-console": [false],
"no-empty":false,
"ordered-imports": [false],
"arrow-parens": false,
"array-type": false,
"object-literal-shorthand": false,
"object-literal-key-quotes": false,
"triple-equals": [false],
"no-shadowed-variable": false,
"no-string-literal": false,
"variable-name": [false],
"comment-format": [false],
"interface-over-type-literal": false,
"max-line-length": [false],
"max-classes-per-file": false,
"member-ordering": [false],
"ban-types": [
"Object"
],
"ban": [
true,
{"name": ["*", "forEach"], "message": "Use for-of loop instead."}
]
},
"rulesDirectory": []
}