ci(codeclimate): Switching to tslint.json for codeclimate support

This commit is contained in:
Justin 2019-05-27 14:30:04 -04:00
parent 0061231c8e
commit ffc085bc9b
3 changed files with 13 additions and 9 deletions

View File

@ -1,7 +1,7 @@
engines:
tslint:
enabled: true
config: tslint.yml
config: tslint.json
shellcheck:
enabled: true
duplication:

12
tslint.json Normal file
View File

@ -0,0 +1,12 @@
{
"extends": [
"tslint-config-airbnb",
"tslint-config-prettier"
],
"rules": {
"variable-name": [true, "ban-keywords", "check-format", "allow-pascal-case"],
"object-shorthand-properties-first": false,
"max-line-length": [true, { "limit": 100, "ignore-pattern": "`[^`]+`" }],
"import-name": false
}
}

View File

@ -1,8 +0,0 @@
extends:
- tslint-config-airbnb
- tslint-config-prettier
rules:
variable-name: [true, 'ban-keywords', 'check-format', 'allow-pascal-case']
object-shorthand-properties-first: false
max-line-length: [true, { 'limit': 100, 'ignore-pattern': '`[^`]+`' }]
import-name: false