@deslop/coding-standards 0.1.1083 → 0.1.1086

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/oxlint.d.ts CHANGED
@@ -4150,8 +4150,8 @@ export declare const oxlint: {
4150
4150
  plugins: ("effecttsgo" | "eslint" | "import" | "jsx-a11y" | "oxc" | "react" | "typescript" | "unicorn")[];
4151
4151
  rules: {
4152
4152
  '@deslop/coding-standards/explicit-effect-concurrency': "error";
4153
+ '@deslop/coding-standards/module-constant': "error";
4153
4154
  '@deslop/coding-standards/motion-limits': "error";
4154
- '@deslop/coding-standards/no-array-wrap-ternary': "error";
4155
4155
  '@deslop/coding-standards/no-barrel-module': "error";
4156
4156
  '@deslop/coding-standards/no-compiler-opt-out': "error";
4157
4157
  '@deslop/coding-standards/no-component-atom-allocation': "error";
@@ -4164,6 +4164,7 @@ export declare const oxlint: {
4164
4164
  '@deslop/coding-standards/no-empty-recovery': "error";
4165
4165
  '@deslop/coding-standards/no-error-message-assertion': "error";
4166
4166
  '@deslop/coding-standards/no-fake-ref-state': "error";
4167
+ '@deslop/coding-standards/no-floating-derived-type': "error";
4167
4168
  '@deslop/coding-standards/no-gradient': "error";
4168
4169
  '@deslop/coding-standards/no-hand-written-guard': "error";
4169
4170
  '@deslop/coding-standards/no-in-operator': "error";
@@ -4172,7 +4173,6 @@ export declare const oxlint: {
4172
4173
  '@deslop/coding-standards/no-native-control': "error";
4173
4174
  '@deslop/coding-standards/no-native-emptiness-check': "error";
4174
4175
  '@deslop/coding-standards/no-native-method-call': "error";
4175
- '@deslop/coding-standards/no-nullish-ternary': "error";
4176
4176
  '@deslop/coding-standards/no-option-value-access': "error";
4177
4177
  '@deslop/coding-standards/no-property-alias': "error";
4178
4178
  '@deslop/coding-standards/no-readonly-type-syntax': "error";
@@ -4183,9 +4183,11 @@ export declare const oxlint: {
4183
4183
  '@deslop/coding-standards/no-renamed-import': "error";
4184
4184
  '@deslop/coding-standards/no-return-type': "error";
4185
4185
  '@deslop/coding-standards/no-single-use-value': "error";
4186
+ '@deslop/coding-standards/no-stored-jsx': "error";
4186
4187
  '@deslop/coding-standards/no-stored-schema-operation': "error";
4187
4188
  '@deslop/coding-standards/no-switch-statement': "error";
4188
4189
  '@deslop/coding-standards/no-trivial-indirection': "error";
4190
+ '@deslop/coding-standards/no-type-from-value': "error";
4189
4191
  '@deslop/coding-standards/no-typeof': "error";
4190
4192
  '@deslop/coding-standards/no-undestructured-use-state': "error";
4191
4193
  '@deslop/coding-standards/no-unexplained-disable': "error";
@@ -4206,6 +4208,8 @@ export declare const oxlint: {
4206
4208
  'effecttsgo/global-timers': "error";
4207
4209
  'effecttsgo/global-timers-in-effect': "error";
4208
4210
  'effecttsgo/node-builtin-import': "error";
4211
+ 'effecttsgo/prefer-effect-array': "error";
4212
+ 'effecttsgo/prefer-effect-record': "error";
4209
4213
  'effecttsgo/prefer-schema-over-json': "error";
4210
4214
  'effecttsgo/process-env': "error";
4211
4215
  'effecttsgo/process-env-in-effect': "error";
@@ -4224,9 +4228,11 @@ export declare const oxlint: {
4224
4228
  'effecttsgo/effect-in-void-success': "error";
4225
4229
  'effecttsgo/effect-map-flatten': "error";
4226
4230
  'effecttsgo/effect-map-void': "error";
4231
+ 'effecttsgo/effect-sleep-zero-to-yield-now': "error";
4227
4232
  'effecttsgo/effect-succeed-with-void': "error";
4228
4233
  'effecttsgo/flat-map-ignored-param-to-and-then': "error";
4229
4234
  'effecttsgo/flat-map-to-map': "error";
4235
+ 'effecttsgo/flat-map-to-tap': "error";
4230
4236
  'effecttsgo/floating-effect': "error";
4231
4237
  'effecttsgo/floating-effect-in-vitest': "error";
4232
4238
  'effecttsgo/layer-merge-all-with-dependencies': "error";
@@ -4264,11 +4270,10 @@ export declare const oxlint: {
4264
4270
  'effecttsgo/catch-all-to-map-error': "error";
4265
4271
  'effecttsgo/catch-chain-to-first-success-of': "error";
4266
4272
  'effecttsgo/catch-conditional-refail-to-catch-if': "error";
4267
- 'effecttsgo/catch-die-to-or-die': "error";
4268
4273
  'effecttsgo/catch-tag-to-catch-reason': "error";
4269
- 'effecttsgo/catch-to-ignore': "error";
4270
4274
  'effecttsgo/catch-to-or-else-succeed': "error";
4271
4275
  'effecttsgo/catch-unfailable-effect': "error";
4276
+ 'effecttsgo/error-payload-shadows-name': "error";
4272
4277
  'effecttsgo/flat-map-conditional-to-filter-or-fail': "error";
4273
4278
  'effecttsgo/global-error-in-effect-catch': "error";
4274
4279
  'effecttsgo/global-error-in-effect-failure': "error";
@@ -4277,10 +4282,8 @@ export declare const oxlint: {
4277
4282
  'effecttsgo/redundant-map-error': "error";
4278
4283
  'effecttsgo/redundant-or-die': "error";
4279
4284
  'effecttsgo/timeout-catch-tag-to-timeout-or-else': "error";
4280
- 'effecttsgo/unknown-in-effect-catch': "error";
4281
4285
  'effecttsgo/class-self-mismatch': "error";
4282
4286
  'effecttsgo/deterministic-keys': "error";
4283
- 'effecttsgo/generic-effect-services': "error";
4284
4287
  'effecttsgo/instance-of-schema': "error";
4285
4288
  'effecttsgo/new-schema-class': "error";
4286
4289
  'effecttsgo/obsolete-match-import': "error";
@@ -4293,6 +4296,7 @@ export declare const oxlint: {
4293
4296
  'effecttsgo/schema-number': "error";
4294
4297
  'effecttsgo/schema-struct-with-tag': "error";
4295
4298
  'effecttsgo/schema-sync-in-effect': "error";
4299
+ 'effecttsgo/schema-union-of-literals': "error";
4296
4300
  'effecttsgo/service-not-as-class': "error";
4297
4301
  'effecttsgo/unnecessary-typeof-type': "error";
4298
4302
  'typescript/consistent-generic-constructors': "error";
@@ -4358,7 +4362,9 @@ export declare const oxlint: {
4358
4362
  'typescript/unbound-method': "error";
4359
4363
  'typescript/unified-signatures': "error";
4360
4364
  'typescript/prefer-as-const': "error";
4361
- 'typescript/prefer-nullish-coalescing': "error";
4365
+ 'typescript/prefer-nullish-coalescing': ["error", {
4366
+ ignoreTernaryTests: true;
4367
+ }];
4362
4368
  'typescript/prefer-optional-chain': "error";
4363
4369
  'typescript/restrict-plus-operands': "error";
4364
4370
  'typescript/restrict-template-expressions': "error";
@@ -4401,7 +4407,6 @@ export declare const oxlint: {
4401
4407
  regex: string;
4402
4408
  }[];
4403
4409
  }];
4404
- 'array-callback-return': "error";
4405
4410
  'max-depth': ["error", number];
4406
4411
  'max-nested-callbacks': ["error", number];
4407
4412
  'no-cond-assign': "error";
@@ -4476,17 +4481,14 @@ export declare const oxlint: {
4476
4481
  }, {
4477
4482
  message: string;
4478
4483
  name: string;
4479
- }, {
4480
- message: string;
4481
- name: string;
4482
4484
  }];
4483
4485
  'no-restricted-properties': ["error", {
4484
4486
  message: string;
4485
4487
  property: string;
4486
4488
  }, {
4487
- allowObjects: string[];
4489
+ allowProperties: string[];
4488
4490
  message: string;
4489
- property: string;
4491
+ object: string;
4490
4492
  }, ...({
4491
4493
  message: string;
4492
4494
  object: string;
@@ -4580,7 +4582,6 @@ export declare const oxlint: {
4580
4582
  'no-ternary': "error";
4581
4583
  'no-throw-literal': "error";
4582
4584
  'no-unmodified-loop-condition': "error";
4583
- 'no-unneeded-ternary': "error";
4584
4585
  'no-unreachable-loop': "error";
4585
4586
  'no-unsafe-finally': "error";
4586
4587
  'no-unsafe-optional-chaining': ["error", {
@@ -4588,10 +4589,17 @@ export declare const oxlint: {
4588
4589
  }];
4589
4590
  'no-unused-expressions': "error";
4590
4591
  'no-unused-vars': ["error", {
4592
+ args: "all";
4591
4593
  argsIgnorePattern: string;
4592
4594
  ignoreRestSiblings: true;
4593
4595
  reportUsedIgnorePattern: true;
4594
4596
  }];
4597
+ 'no-use-before-define': ["error", {
4598
+ classes: false;
4599
+ functions: false;
4600
+ typedefs: false;
4601
+ variables: true;
4602
+ }];
4595
4603
  'no-useless-assignment': "error";
4596
4604
  'no-useless-backreference': "error";
4597
4605
  'no-useless-call': "error";
@@ -4606,8 +4614,6 @@ export declare const oxlint: {
4606
4614
  'no-void': "error";
4607
4615
  'object-shorthand': "error";
4608
4616
  'oxc/branches-sharing-code': "error";
4609
- 'oxc/no-accumulating-spread': "error";
4610
- 'oxc/no-map-spread': "error";
4611
4617
  'oxc/only-used-in-recursion': "error";
4612
4618
  'prefer-arrow-callback': "error";
4613
4619
  'prefer-const': ["error", {
@@ -4615,11 +4621,18 @@ export declare const oxlint: {
4615
4621
  }];
4616
4622
  'prefer-template': "error";
4617
4623
  'require-unicode-regexp': "error";
4624
+ 'jsx-a11y/alt-text': "error";
4625
+ 'jsx-a11y/aria-props': "error";
4626
+ 'jsx-a11y/aria-proptypes': "error";
4618
4627
  'jsx-a11y/autocomplete-valid': "error";
4619
4628
  'jsx-a11y/click-events-have-key-events': "error";
4620
4629
  'jsx-a11y/control-has-associated-label': "error";
4630
+ 'jsx-a11y/heading-has-content': "error";
4621
4631
  'jsx-a11y/interactive-supports-focus': "error";
4622
4632
  'jsx-a11y/label-has-associated-control': "error";
4633
+ 'jsx-a11y/no-aria-hidden-on-focusable': "error";
4634
+ 'jsx-a11y/role-has-required-aria-props': "error";
4635
+ 'jsx-a11y/tabindex-no-positive': "error";
4623
4636
  'react-doctor/no-aria-invalid-without-description': "error";
4624
4637
  'react-doctor/no-call-component-as-function': "error";
4625
4638
  'react-doctor/no-controlled-input-value-without-state-update': "error";
@@ -4688,7 +4701,6 @@ export declare const oxlint: {
4688
4701
  'react/jsx-no-script-url': "error";
4689
4702
  'react/jsx-no-target-blank': "error";
4690
4703
  'react/jsx-no-useless-fragment': "error";
4691
- 'react/memo-dependencies': "error";
4692
4704
  'react/no-array-index-key': "error";
4693
4705
  'react/no-children-prop': "error";
4694
4706
  'react/no-clone-element': "error";
@@ -4696,10 +4708,6 @@ export declare const oxlint: {
4696
4708
  'react/no-object-type-as-default-prop': "error";
4697
4709
  'react/no-react-children': "error";
4698
4710
  'react/no-unknown-property': "error";
4699
- 'react/no-unstable-nested-components': ["error", {
4700
- allowAsProps: true;
4701
- }];
4702
- 'react/preserve-manual-memoization': "error";
4703
4711
  'react/purity': "error";
4704
4712
  'react/refs': "error";
4705
4713
  'react/rule-suppression': "error";
@@ -4708,9 +4716,7 @@ export declare const oxlint: {
4708
4716
  'react/set-state-in-effect': "error";
4709
4717
  'react/set-state-in-render': "error";
4710
4718
  'react/static-components': "error";
4711
- 'react/use-memo': "error";
4712
4719
  'react/void-dom-elements-no-children': "error";
4713
- 'react/void-use-memo': "error";
4714
4720
  'shadcn/no-arbitrary-values': "error";
4715
4721
  'shadcn/no-inline-styles': "error";
4716
4722
  'shadcn/no-raw-colors': "error";
@@ -4753,10 +4759,9 @@ export declare const oxlint: {
4753
4759
  'unicorn/no-process-exit': "error";
4754
4760
  'unicorn/no-static-only-class': "error";
4755
4761
  'unicorn/no-useless-fallback-in-spread': "error";
4756
- 'unicorn/no-useless-length-check': "error";
4757
4762
  'unicorn/no-useless-spread': "error";
4758
- 'unicorn/prefer-logical-operator-over-ternary': "error";
4759
4763
  'unicorn/prefer-optional-catch-binding': "error";
4764
+ 'unicorn/prefer-string-replace-all': "error";
4760
4765
  'use-isnan': "error";
4761
4766
  };
4762
4767
  settings: {