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

Commit b59ee27

Browse files
committed
Code Climate setup
1 parent 4702c96 commit b59ee27

File tree

3 files changed

+19
-3
lines changed

3 files changed

+19
-3
lines changed

.codeclimate.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
engines:
3+
duplication:
4+
enabled: true
5+
config:
6+
languages:
7+
- javascript
8+
eslint:
9+
enabled: true
10+
fixme:
11+
enabled: true
12+
ratings:
13+
paths:
14+
- "**.js"
15+
exclude_paths:
16+
- test/

.eslintrc

-3
This file was deleted.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"coverage": "lab -v -c -r html -o ./test/artifacts/coverage.html && open ./test/artifacts/coverage.html",
1616
"coveralls": "lab -r lcov | ./node_modules/.bin/coveralls"
1717
},
18+
"eslintConfig": {
19+
"extends": "eslint-config-hapi"
20+
},
1821
"engines": {
1922
"node": ">=4.0.0"
2023
},

0 commit comments

Comments
 (0)