Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #54 from nhsuk/fix/code-coverage
Browse files Browse the repository at this point in the history
Fix/code coverage
  • Loading branch information
neilbmclaughlin authored Oct 10, 2019
2 parents 7803507 + b23c820 commit 6cc2972
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ module.exports = {
object: true,
},
{
enforceForRenamedProperties: true,
enforceForRenamedProperties: false,
},
],
'sort-keys': [
Expand Down
6 changes: 0 additions & 6 deletions .nyc.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .nycrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"check-coverage": true,
"branches": 90,
"lines": 90,
"functions": 90,
"statements": 90
}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
0.23.0 / 2019-10-10
===================
- Do not enforce destructuring option for renamed properties
- Fix code coverage check

0.22.0 / 2019-10-08
===================
- Disallow empty lines at BOF and EOF
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "eslint-config-nhsuk",
"version": "0.22.0",
"version": "0.23.0",
"description": "ESLint config. Primarily intended for use within NHSUK projects.",
"main": ".eslintrc.js",
"scripts": {
"git-hook": "yarn lint && yarn test",
"lint": "yarn eslint .",
"test": "nyc mocha --exit --recursive test",
"test": "nyc --nycrc-path .nycrc.json mocha --exit --recursive test",
"test-watch": "yarn test --reporter min --watch",
"test-with-coverage": "nyc --reporter=lcov --reporter=cobertura mocha --exit --recursive test --reporter mocha-junit-reporter"
},
Expand Down

0 comments on commit 6cc2972

Please sign in to comment.