Skip to content

Commit c6521ad

Browse files
committed
Change istanbul output directory to ./coverage (default)
1 parent 5970651 commit c6521ad

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
reports/**
1+
coverage

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ lib-cov
1313
pids
1414
logs
1515
reports
16+
coverage
1617
build
1718
node_modules
1819
!tests/**/node_modules

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
"description": "React specific linting rules for ESLint",
66
"main": "index.js",
77
"scripts": {
8-
"coveralls": "cat ./reports/coverage/lcov.info | coveralls",
8+
"coveralls": "cat ./coverage/lcov.info | coveralls",
99
"lint": "eslint ./",
1010
"postlint": "npm run type-check",
1111
"pretest": "npm run lint",
1212
"test": "npm run unit-test",
1313
"type-check": "tsc",
14-
"unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js"
14+
"unit-test": "istanbul cover node_modules/mocha/bin/_mocha tests/lib/**/*.js tests/util/**/*.js tests/index.js"
1515
},
1616
"files": [
1717
"LICENSE",

0 commit comments

Comments
 (0)