mirror of
https://github.com/wassname/talk.git
synced 2026-07-12 08:37:14 +08:00
5150cdf60e
* feat: suspending, banning, now propogation * feat: new mutation api with hooks support * feat: better types in tests and refactor * fix: lint
39 lines
837 B
JSON
39 lines
837 B
JSON
{
|
|
"extends": [
|
|
"tslint:recommended",
|
|
"tslint-config-prettier",
|
|
"tslint-plugin-prettier"
|
|
],
|
|
"rules": {
|
|
"prettier": true,
|
|
"object-literal-sort-keys": false,
|
|
"interface-name": [true, "never-prefix"],
|
|
"no-switch-case-fall-through": true,
|
|
"member-ordering": false,
|
|
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"allow-pascal-case"
|
|
]
|
|
},
|
|
"jsRules": {
|
|
"prettier": true,
|
|
"object-literal-sort-keys": false,
|
|
"no-switch-case-fall-through": true,
|
|
"member-ordering": false,
|
|
"variable-name": [
|
|
true,
|
|
"ban-keywords",
|
|
"check-format",
|
|
"allow-leading-underscore",
|
|
"allow-pascal-case"
|
|
]
|
|
},
|
|
"linterOptions": {
|
|
"exclude": ["**/node_modules/**/*", "./config/coverage/**"]
|
|
}
|
|
}
|