Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit 5254826

Browse files
ci(codeclimate): Added codeclimate
1 parent 43f53a9 commit 5254826

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

.codeclimate.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
version: "2"
2+
3+
checks:
4+
argument-count:
5+
config:
6+
threshold: 5
7+
complex-logic:
8+
config:
9+
threshold: 5
10+
file-lines:
11+
enabled: false
12+
method-complexity:
13+
config:
14+
threshold: 5
15+
method-count:
16+
config:
17+
threshold: 50
18+
method-lines:
19+
enabled: false
20+
nested-control-flow:
21+
config:
22+
threshold: 5
23+
return-statements:
24+
config:
25+
threshold: 5
26+
similar-code:
27+
enabled: false

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@
99
[![Build status](https://ci.appveyor.com/api/projects/status/64mu0a0cfmtvgicd/branch/master?svg=true)](https://ci.appveyor.com/project/cknow/awesome-validator/branch/master)
1010
[![Coverage Status](https://coveralls.io/repos/github/cknow/awesome-validator/badge.svg?branch=master)](https://coveralls.io/github/cknow/awesome-validator?branch=master)
1111

12-
[![Dependency Status](https://dependencyci.com/github/cknow/awesome-validator/badge)](https://dependencyci.com/github/cknow/awesome-validator)
12+
[![Code Climate](https://codeclimate.com/github/cknow/awesome-validator/badges/gpa.svg)](https://codeclimate.com/github/cknow/awesome-validator)
13+
[![Test Coverage](https://codeclimate.com/github/cknow/awesome-validator/badges/coverage.svg)](https://codeclimate.com/github/cknow/awesome-validator/coverage)
14+
[![Issue Count](https://codeclimate.com/github/cknow/awesome-validator/badges/issue_count.svg)](https://codeclimate.com/github/cknow/awesome-validator)
15+
1316
[![Dependencies Status](https://david-dm.org/cknow/awesome-validator/status.svg)](https://david-dm.org/cknow/awesome-validator)
1417
[![devDependencies Status](https://david-dm.org/cknow/awesome-validator/dev-status.svg)](https://david-dm.org/cknow/awesome-validator?type=dev)
1518
[![peerDependencies Status](https://david-dm.org/cknow/awesome-validator/peer-status.svg)](https://david-dm.org/cknow/awesome-validator?type=peer)

0 commit comments

Comments
 (0)