Skip to content

Commit 623de98

Browse files
committed
chore: update js-lint to 0.2.11 and delete .prettierrc since its no longer needed
1 parent 8cafbe7 commit 623de98

File tree

4 files changed

+15
-16
lines changed

4 files changed

+15
-16
lines changed

.prettierrc

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

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# js-async-init
22

3-
Asynchronous initialization and deinitialization decorators for JavaScript/TypeScript applications.
3+
Asynchronous initialization and deinitialization decorators for
4+
JavaScript/TypeScript applications.
45

5-
Because decorators are experimental, you must enable: `"experimentalDecorators": true` in your `tsconfig.json` to use this library.
6+
Because decorators are experimental, you must enable:
7+
`"experimentalDecorators": true` in your `tsconfig.json` to use this library.
68

79
TypeScript does not allow decorator properties that are protected or private.
810

@@ -88,9 +90,13 @@ async function main() {
8890
main();
8991
```
9092

91-
The `start`, `stop`, and `destroy` calls are all concurrent-controlled with `RWLockWriter`. They are idempotent and they are mutually exclusive between each other and any blocking `ready` decorated methods. Decorated methods can block `start`, `stop`, and `destroy`, but share a read lock between each other.
93+
The `start`, `stop`, and `destroy` calls are all concurrent-controlled with
94+
`RWLockWriter`. They are idempotent and they are mutually exclusive between each
95+
other and any blocking `ready` decorated methods. Decorated methods can block
96+
`start`, `stop`, and `destroy`, but share a read lock between each other.
9297

93-
Refer to https://gist.github.com/CMCDragonkai/1dbf5069d9efc11585c27cc774271584 for further the motivation of this library.
98+
Refer to https://gist.github.com/CMCDragonkai/1dbf5069d9efc11585c27cc774271584
99+
for further the motivation of this library.
94100

95101
## Installation
96102

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
@@ -41,7 +41,7 @@
4141
"@matrixai/events": "^4.0.0"
4242
},
4343
"devDependencies": {
44-
"@matrixai/lint": "^0.2.6",
44+
"@matrixai/lint": "^0.2.11",
4545
"@swc/core": "1.3.82",
4646
"@swc/jest": "^0.2.29",
4747
"@types/jest": "^29.5.2",

0 commit comments

Comments
 (0)