mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-25 16:04:01 +00:00
ci(codeclimate): Switching to tslint.json for codeclimate support
This commit is contained in:
parent
0061231c8e
commit
ffc085bc9b
@ -1,7 +1,7 @@
|
||||
engines:
|
||||
tslint:
|
||||
enabled: true
|
||||
config: tslint.yml
|
||||
config: tslint.json
|
||||
shellcheck:
|
||||
enabled: true
|
||||
duplication:
|
||||
|
||||
12
tslint.json
Normal file
12
tslint.json
Normal 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
|
||||
}
|
||||
}
|
||||
@ -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
|
||||
Loading…
x
Reference in New Issue
Block a user