RenaiApp/tslint.json

32 lines
915 B
JSON
Raw Normal View History

2019-06-08 00:36:44 +02:00
{
"rulesDirectory": ["tslint-plugin-prettier"],
"extends": ["tslint:latest", "tslint-config-prettier"],
"defaultSeverity": "warn",
2019-06-08 00:36:44 +02:00
"rules": {
"prettier": true,
"typedef": [
true,
"arrow-call-signature",
"arrow-parameter",
"call-signature",
"member-variable-declaration",
"parameter",
"property-declaration"
],
2019-06-08 00:36:44 +02:00
"no-console": true,
2019-06-08 02:18:50 +02:00
"object-literal-sort-keys": [true, "match-declaration-order-only"],
"no-implicit-dependencies": false,
"no-submodule-imports": false,
"no-floating-promises": true,
"no-unused-expression": true,
"await-promise": true,
2019-06-30 01:18:21 +02:00
"no-inferrable-types": [true, "ignore-params", "ignore-properties"],
"prefer-for-of": true,
"no-empty": [true, "allow-empty-functions"],
"no-magic-numbers": true,
2019-06-30 01:18:21 +02:00
"no-parameter-reassignment": true,
"arrow-return-shorthand": true
},
"jsRules": true
2019-06-08 00:36:44 +02:00
}