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

Commit f954f91

Browse files
authored
Prettier (#101)
* Add prettier * Add husky and lint-staged for precommit prettier * Update test * Fix test
1 parent 16efd18 commit f954f91

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+3533
-1156
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules/
2+
.git/
3+
coverage/

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": false,
3+
"trailingComma": "es5",
4+
"singleQuote": true,
5+
"useTabs": false
6+
}

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ language: node_js
33
sudo: false
44

55
node_js:
6+
- "10"
7+
- "9"
68
- "8"
79
- "7"
810
- "6"

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
var handleInput = require('./lib/codecov');
1+
var handleInput = require('./lib/codecov')
22

3-
exports.handleInput = handleInput;
3+
exports.handleInput = handleInput

0 commit comments

Comments
 (0)