Skip to content

Commit 448ba56

Browse files
committed
feat: added @matrixai/lint and removed old linting elements, ran linting with js-lint
1 parent 81bcd6b commit 448ba56

File tree

5 files changed

+2886
-1397
lines changed

5 files changed

+2886
-1397
lines changed

.eslintrc

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

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ If you are building a peer to peer network, you must use the injected way. This
140140

141141
![image](/images/quic_structure_injected.svg)
142142

143-
This also means both `QUICClient` and `QUICServer` must share the same connection map. In order to allow the `QUICSocket` to dispatch data into the correct connection, the connection map is constructed in the `QUICSocket`, however setting and unsetting connections is managed by `QUICClient` and `QUICServer`.
143+
This also means both `QUICClient` and `QUICServer` must share the same connection map. In order to allow the `QUICSocket` to dispatch data into the correct connection, the connection map is constructed in the `QUICSocket`, however setting and unsetting connections is managed by `QUICClient` and `QUICServer`.
144144

145145
### Dataflow
146146

@@ -174,10 +174,9 @@ External events may also trigger event handlers that will call methods which per
174174

175175
Keeping track of how the system works is therefore quite complex and must follow a set of rules.
176176

177-
* Pull methods - these are either synchronous or asynchronous methods that may throw exceptions.
178-
* Push handlers - these are event handlers that can initiate pull methods, if these pull handlers throw exceptions, these exceptions must be caught, and expected runtime exceptions are to be converted to error events, all other exceptions will be considered to be software bugs and will be bubbled up to the program boundary as unhandled exceptions or unhandled promise rejections. Generally the only exceptions that are expected runtime exceptions are those that arise from perform IO with the operating system.
177+
- Pull methods - these are either synchronous or asynchronous methods that may throw exceptions.
178+
- Push handlers - these are event handlers that can initiate pull methods, if these pull handlers throw exceptions, these exceptions must be caught, and expected runtime exceptions are to be converted to error events, all other exceptions will be considered to be software bugs and will be bubbled up to the program boundary as unhandled exceptions or unhandled promise rejections. Generally the only exceptions that are expected runtime exceptions are those that arise from perform IO with the operating system.
179179

180180
## License
181181

182182
js-quic is licensed under Apache-2.0, you may read the terms of the license [here](LICENSE).
183-

0 commit comments

Comments
 (0)