Skip to content

Commit 653bd11

Browse files
committed
Format code
1 parent 4bc92e3 commit 653bd11

6 files changed

Lines changed: 733 additions & 735 deletions

File tree

.eslintrc.cjs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,11 @@
11
module.exports = {
22
root: true,
3-
env: { browser: true, es2020: true },
4-
extends: [
5-
'eslint:recommended',
6-
'plugin:@typescript-eslint/recommended',
7-
'plugin:react-hooks/recommended',
8-
],
3+
env: {browser: true, es2020: true},
4+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended'],
95
ignorePatterns: ['dist', '.eslintrc.cjs'],
106
parser: '@typescript-eslint/parser',
117
plugins: ['react-refresh'],
128
rules: {
13-
'react-refresh/only-export-components': [
14-
'warn',
15-
{ allowConstantExport: true },
16-
],
9+
'react-refresh/only-export-components': ['warn', {allowConstantExport: true}],
1710
},
1811
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ Other commands:
2121
Thanks to these data sources for color equivalents across brands:
2222

2323
- Old + new J&P Coats / DMC / Anchor color codes from
24-
- [Cross Stitchers Unite](https://www.oocities.org/anna_merchant/6.txt)
25-
- [Goblenart](https://www.goblenart.com/old-jpcoats-new-jpcoats-dmc-anchor-conversion-chart/)
24+
- [Cross Stitchers Unite](https://www.oocities.org/anna_merchant/6.txt)
25+
- [Goblenart](https://www.goblenart.com/old-jpcoats-new-jpcoats-dmc-anchor-conversion-chart/)
2626
- Anchor / DMC color codes from [Stitchtastic](https://www.stitchtastic.com/blog/stch/anchor-to-dmc-threads-conversion-chart/)
2727
- DMC color codes and names from [camelia.sk](http://www.camelia.sk/dmc_1.htm)
2828
- Cosmo / DMC color codes from [Snuggly Monkey](https://www.snugglymonkey.com/blogs/news/converting-dmc-to-cosmo-embroidery-floss) and [The Quilters' Store](https://www.quiltersstore.com.au/freebies/ThreadConversions-331/)

src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
@media print {
2727
a::after {
28-
content: " (" attr(href) ")";
28+
content: ' (' attr(href) ')';
2929
}
3030

3131
body {

src/Search.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export function Search() {
88
return (
99
<div className="searchControls">
1010
<ActionMenu>
11-
<ActionMenu.Button><span className="sr-only">Search by</span> {sortLabels[field]}</ActionMenu.Button>
11+
<ActionMenu.Button>
12+
<span className="sr-only">Search by</span> {sortLabels[field]}
13+
</ActionMenu.Button>
1214
<ActionMenu.Overlay width="small">
1315
<ActionList selectionVariant="single">
1416
{sortOptions.map(searchOption => (

src/TableRow.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
.codeCell, .jpCoatsCell {
1+
.codeCell,
2+
.jpCoatsCell {
23
text-align: center;
34
white-space: nowrap;
45
}

0 commit comments

Comments
 (0)