RenaiApp/tslint.json

33 lines
946 B
JSON

{
"rulesDirectory": ["tslint-plugin-prettier"],
"extends": ["tslint:latest", "tslint-config-prettier"],
"defaultSeverity": "warn",
"rules": {
"prettier": true,
"typedef": [
true,
"arrow-call-signature",
"arrow-parameter",
"call-signature",
"member-variable-declaration",
"parameter",
"property-declaration"
],
"no-console": true,
"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,
"no-inferrable-types": [true, "ignore-params", "ignore-properties"],
"prefer-for-of": true,
"no-empty": [true, "allow-empty-functions"],
"no-magic-numbers": true,
"no-parameter-reassignment": true,
"arrow-return-shorthand": true,
"no-default-export": true
},
"jsRules": true
}