Skip to content

Commit 70b7476

Browse files
committed
Revert "Typesafe error propagation in signal connection path (#1747)"
This reverts commit 8b8ddbd.
1 parent 8b8ddbd commit 70b7476

19 files changed

+684
-1116
lines changed

.changeset/early-numbers-build.md

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

eslint.config.mjs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import js from '@eslint/js';
33
import { configs, plugins, rules } from 'eslint-config-airbnb-extended';
44
import { rules as prettierConfigRules } from 'eslint-config-prettier';
5-
import neverthrowMustUse from 'eslint-plugin-neverthrow-must-use';
65
import prettierPlugin from 'eslint-plugin-prettier';
76

87
const strictness = 'off';
@@ -32,15 +31,6 @@ const typescriptConfig = [
3231
rules.typescript.typescriptEslintStrict,
3332
];
3433

35-
const neverthrowConfig = [
36-
{
37-
name: 'neverthrow-must-use',
38-
plugins: {
39-
'neverthrow-must-use': neverthrowMustUse,
40-
},
41-
},
42-
];
43-
4434
const prettierConfig = [
4535
// Prettier Plugin
4636
{
@@ -66,7 +56,6 @@ export default [
6656
...typescriptConfig,
6757
// Prettier Config
6858
...prettierConfig,
69-
...neverthrowConfig,
7059
{
7160
languageOptions: {
7261
parserOptions: {
@@ -169,7 +158,6 @@ export default [
169158
'one-var': strictness,
170159
'no-multi-assign': strictness,
171160
'new-cap': strictness,
172-
'require-yield': strictness,
173161

174162
radix: strictness,
175163
eqeqeq: strictness,

package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@
6060
"events": "^3.3.0",
6161
"jose": "^6.1.0",
6262
"loglevel": "^1.9.2",
63-
"neverthrow": "^8.2.0",
6463
"sdp-transform": "^2.15.0",
6564
"ts-debounce": "^4.0.0",
6665
"tslib": "2.8.1",
@@ -97,7 +96,6 @@
9796
"eslint-config-prettier": "10.1.8",
9897
"eslint-plugin-compat": "^6.0.2",
9998
"eslint-plugin-import-x": "^4.16.1",
100-
"eslint-plugin-neverthrow-must-use": "^0.1.2",
10199
"eslint-plugin-prettier": "^5.5.4",
102100
"gh-pages": "6.3.0",
103101
"happy-dom": "^17.2.0",

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)