Skip to content

Commit 9654b7f

Browse files
committed
chore: update js-lint to 0.2.11 and delete .prettierrc since its no longer needed
1 parent a31d32e commit 9654b7f

File tree

4 files changed

+11
-14
lines changed

4 files changed

+11
-14
lines changed

.prettierrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ console.log(sortId2 < sortId3);
7171

7272
**Base Encoding and Lexicographic Order**
7373

74-
It is important to realise that not all base-encodings preserve lexicographic sort order. The UUID (hex-encoding) and `base32hex` does, but `base58btc` and `base64` does not. Make sure to pick an appropriate base encoding if you are expecting to compare the `IdSortable` as base-encoded strings.
74+
It is important to realise that not all base-encodings preserve lexicographic
75+
sort order. The UUID (hex-encoding) and `base32hex` does, but `base58btc` and
76+
`base64` does not. Make sure to pick an appropriate base encoding if you are
77+
expecting to compare the `IdSortable` as base-encoded strings.
7578

7679
Out of all the multibase encodings, the only ones that preserve sort order are:
7780

@@ -86,7 +89,8 @@ base32hexpad
8689
base32hexpadupper
8790
```
8891

89-
In addition to this, JS binary string encoding through `id.toString()` also preserves sort order.
92+
In addition to this, JS binary string encoding through `id.toString()` also
93+
preserves sort order.
9094

9195
## Installation
9296

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"uuid": "^8.3.2"
4040
},
4141
"devDependencies": {
42-
"@matrixai/lint": "^0.2.6",
42+
"@matrixai/lint": "^0.2.11",
4343
"@swc/core": "^1.3.62",
4444
"@swc/jest": "^0.2.29",
4545
"@types/jest": "^29.5.2",

0 commit comments

Comments
 (0)