1
0
forked from mirror/misskey
misskey/tslint.json

65 lines
1.7 KiB
JSON
Raw Normal View History

2016-12-29 07:49:51 +09:00
{
2017-05-24 20:50:17 +09:00
"defaultSeverity": "error",
"extends": [
2018-12-27 01:32:31 +09:00
"tslint:recommended",
"tslint-sonarts"
2017-05-24 20:50:17 +09:00
],
"jsRules": {},
"rules": {
2018-04-26 14:44:23 +09:00
"align": false,
2017-05-24 20:50:17 +09:00
"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],
2017-11-13 18:05:35 +09:00
"no-empty":false,
2017-05-24 20:50:17 +09:00
"ordered-imports": [false],
"arrow-parens": false,
"array-type": [true, "array"],
2017-05-24 20:50:17 +09:00
"object-literal-shorthand": false,
2017-10-07 04:30:57 +09:00
"object-literal-key-quotes": false,
2017-05-24 20:50:17 +09:00
"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],
2017-10-07 03:36:46 +09:00
"max-classes-per-file": false,
2017-05-24 20:50:17 +09:00
"member-ordering": [false],
"ban-types": [
"Object"
],
"ban": [
true,
{"name": ["*", "forEach"], "message": "Use for-of loop instead."}
2018-12-27 01:32:31 +09:00
],
"no-duplicate-string": false,
"no-commented-code": false,
"cognitive-complexity": false,
"no-nested-template-literals": false,
"no-identical-functions": false,
"max-union-size": false,
"no-big-function": false,
"no-statements-same-line": false,
"no-small-switch": false,
"no-identical-expressions": false,
"no-invalid-await": false,
"prefer-immediate-return": false,
"no-use-of-empty-return-value": false,
"no-collapsible-if": false,
"no-ignored-return": false,
"no-redundant-boolean": false,
"prefer-promise-shorthand": false,
"parameters-max-number": false,
"no-duplicated-branches": false,
"no-identical-conditions": false,
2019-01-23 11:55:47 +09:00
"no-useless-cast": false,
"no-hardcoded-credentials": false
2017-05-24 20:50:17 +09:00
},
"rulesDirectory": []
2016-12-29 07:49:51 +09:00
}