Remove Travis configuration and add no-return-await TS lint rule (#33)
* Add no-return-await TS lint rule * Remove Travis configuration
This commit is contained in:
Родитель
8d9cd2deb9
Коммит
0f1c128cc9
|
@ -1,5 +0,0 @@
|
|||
language: node_js
|
||||
sudo: false
|
||||
node_js:
|
||||
- "6"
|
||||
- "8"
|
17
tslint.json
17
tslint.json
|
@ -43,14 +43,15 @@
|
|||
"variable-declaration": "onespace"
|
||||
}
|
||||
],
|
||||
"no-internal-module": true,
|
||||
"no-trailing-whitespace": true,
|
||||
"no-inferrable-types": [true],
|
||||
"no-null-keyword": true,
|
||||
"prefer-const": true,
|
||||
"no-switch-case-fall-through": true,
|
||||
"triple-equals": true,
|
||||
"jsdoc-format": true,
|
||||
"max-classes-per-file": [true, 1]
|
||||
"max-classes-per-file": [true, 1],
|
||||
"no-inferrable-types": [true],
|
||||
"no-internal-module": true,
|
||||
"no-null-keyword": true,
|
||||
"no-return-await": true,
|
||||
"no-switch-case-fall-through": true,
|
||||
"no-trailing-whitespace": true,
|
||||
"prefer-const": true,
|
||||
"triple-equals": true
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче