Skip to content

Commit

Permalink
Updated the code checking
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Dec 26, 2017
1 parent 70abf32 commit 75fcf43
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
version: "2"
plugins:
tslint:
enabled: true
config: tslint.json
checks:
file-lines:
config:
threshold: 1000
method-count:
enabled: false
method-lines:
config:
threshold: 400
argument-count:
config:
threshold: 9
exclude_patterns:
- "lib/"
- "test/"
Expand Down
3 changes: 2 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@
"quotemark": [ true, "single" ],
"return-undefined": true,
"space-before-function-paren": [true, "never"],
"whitespace": [ true, "check-decl", "check-operator", "check-module", "check-separator", "check-typecast", "check-preblock" ]
"whitespace": [ true, "check-decl", "check-operator", "check-module", "check-separator", "check-typecast", "check-preblock" ],
"max-func-body-length": 400
}
}

0 comments on commit 75fcf43

Please sign in to comment.