aboutsummaryrefslogtreecommitdiff
path: root/editors/code/tslint.json
diff options
context:
space:
mode:
authorEdwin Cheng <[email protected]>2019-12-17 15:48:26 +0000
committerEdwin Cheng <[email protected]>2019-12-17 15:50:18 +0000
commitda29b7fb14bcfd4ace1b743175393bcabdc02693 (patch)
treecfe60472dd69188c32184ddb0ee3c09920c0bfa4 /editors/code/tslint.json
parent0ef8ace012b19b76ee99b283801d0d17a3b72b4b (diff)
use pretter settings in ts-lint
Diffstat (limited to 'editors/code/tslint.json')
-rw-r--r--editors/code/tslint.json8
1 files changed, 6 insertions, 2 deletions
diff --git a/editors/code/tslint.json b/editors/code/tslint.json
index b69c5574d..f06fa5fab 100644
--- a/editors/code/tslint.json
+++ b/editors/code/tslint.json
@@ -1,9 +1,13 @@
1{ 1{
2 "defaultSeverity": "error", 2 "defaultSeverity": "error",
3 "extends": ["tslint:recommended", "tslint-config-prettier"], 3 "extends": [
4 "tslint:recommended",
5 "tslint-config-prettier",
6 "tslint-plugin-prettier"
7 ],
4 "rules": { 8 "rules": {
5 "quotemark": [true, "single"],
6 "interface-name": false, 9 "interface-name": false,
10 "prettier": true,
7 "object-literal-sort-keys": false, 11 "object-literal-sort-keys": false,
8 // Allow `_bar` to sort with tsc's `noUnusedParameters` option 12 // Allow `_bar` to sort with tsc's `noUnusedParameters` option
9 "variable-name": [true, "allow-leading-underscore"] 13 "variable-name": [true, "allow-leading-underscore"]