Skip to content

Commit

Permalink
fix: re-add jsx whitespace
Browse files Browse the repository at this point in the history
This was incorrectly removed by eslint-plugin-react v7.15.x due to a bug. It's been fixed in jsx-eslint/eslint-plugin-react#2437, so this commit updates eslint-plugin-react and re-adds the whitespace.
  • Loading branch information
eventualbuddha committed Oct 7, 2019
1 parent 51968ba commit fca7c32
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/bmd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-no-null": "^1.0.2",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-react": "^7.15.1",
"eslint-plugin-react": "^7.16.0",
"husky": "^3.0.8",
"is-ci-cli": "^1.1.1",
"jest-date-mock": "^1.0.7",
Expand Down
4 changes: 2 additions & 2 deletions apps/bmd/src/components/PrecinctTallyReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@ const PrecinctTallyReport = ({
return (
<Report>
<h1>
<NoWrap>{precinct.name}</NoWrap> <NoWrap>{election.title}</NoWrap>
<NoWrap>{precinct.name}</NoWrap> <NoWrap>{election.title}</NoWrap>{' '}
<NoWrap>Tally Report</NoWrap>
</h1>
<p>
This report should be <strong>{reportPurpose}</strong>.
</p>
<p>
{isPollsOpen ? 'Polls Closed' : 'Polls Opened'} and report printed at:
{isPollsOpen ? 'Polls Closed' : 'Polls Opened'} and report printed at:{' '}
<strong>{currentDateTime}</strong>
</p>
<p>
Expand Down
8 changes: 4 additions & 4 deletions apps/bmd/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4401,10 +4401,10 @@ eslint-plugin-react@7.12.4:
prop-types "^15.6.2"
resolve "^1.9.0"

eslint-plugin-react@^7.15.1:
version "7.15.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.15.1.tgz#db5f8ed66c6ba46922518f08e1df9dac52ccaa49"
integrity sha512-YotSItgMPwLGlr3df44MGVyXnHkmKcpkHTzpte3QwJtocr3nFqCXCuoxFZeBtnT8RHdj038NlTvam3dcAFrMcA==
eslint-plugin-react@^7.16.0:
version "7.16.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.16.0.tgz#9928e4f3e2122ed3ba6a5b56d0303ba3e41d8c09"
integrity sha512-GacBAATewhhptbK3/vTP09CbFrgUJmBSaaRcWdbQLFvUZy9yVcQxigBNHGPU/KE2AyHpzj3AWXpxoMTsIDiHug==
dependencies:
array-includes "^3.0.3"
doctrine "^2.1.0"
Expand Down

0 comments on commit fca7c32

Please sign in to comment.