@2digits/oxlint-config 0.6.1 → 0.6.3

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/base.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as TypedOxlintConfig } from "./types-BCBEJUc0.mjs";
1
+ import { n as TypedOxlintConfig } from "./types-x1WTfGaH.mjs";
2
2
 
3
3
  //#region src/base.d.ts
4
4
  declare const baseConfig: TypedOxlintConfig;
package/dist/index.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as RuleName, i as defineTypedConfig, n as TypedOxlintConfig, o as RuleOptions, r as TypedOxlintOverride, t as Rules } from "./types-BCBEJUc0.mjs";
1
+ import { a as RuleName, i as defineTypedConfig, n as TypedOxlintConfig, o as RuleOptions, r as TypedOxlintOverride, t as Rules } from "./types-x1WTfGaH.mjs";
2
2
  import { OxlintConfig } from "oxlint";
3
3
 
4
4
  //#region src/config.d.ts
@@ -2382,6 +2382,16 @@ interface RuleOptions {
2382
2382
  * @see https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-each.html
2383
2383
  */
2384
2384
  'jest/prefer-each'?: DummyRule;
2385
+ /**
2386
+ * Prefer ending with an expect
2387
+ *
2388
+ * plugin: Jest
2389
+ * category: Style
2390
+ * type-aware: false
2391
+ *
2392
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-ending-with-an-expect.html
2393
+ */
2394
+ 'jest/prefer-ending-with-an-expect'?: DummyRule;
2385
2395
  /**
2386
2396
  * Prefer equality matcher
2387
2397
  *
@@ -2422,6 +2432,16 @@ interface RuleOptions {
2422
2432
  * @see https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-hooks-on-top.html
2423
2433
  */
2424
2434
  'jest/prefer-hooks-on-top'?: DummyRule;
2435
+ /**
2436
+ * Prefer importing jest globals
2437
+ *
2438
+ * plugin: Jest
2439
+ * category: Style
2440
+ * type-aware: false
2441
+ *
2442
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/jest/prefer-importing-jest-globals.html
2443
+ */
2444
+ 'jest/prefer-importing-jest-globals'?: DummyRule;
2425
2445
  /**
2426
2446
  * Prefer jest mocked
2427
2447
  *
@@ -2602,6 +2622,16 @@ interface RuleOptions {
2602
2622
  * @see https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect.html
2603
2623
  */
2604
2624
  'jest/valid-expect'?: DummyRule;
2625
+ /**
2626
+ * Valid expect in promise
2627
+ *
2628
+ * plugin: Jest
2629
+ * category: Correctness
2630
+ * type-aware: false
2631
+ *
2632
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/jest/valid-expect-in-promise.html
2633
+ */
2634
+ 'jest/valid-expect-in-promise'?: DummyRule;
2605
2635
  /**
2606
2636
  * Valid title
2607
2637
  *
@@ -4562,6 +4592,16 @@ interface RuleOptions {
4562
4592
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-function-return-type.html
4563
4593
  */
4564
4594
  'typescript/explicit-function-return-type'?: DummyRule;
4595
+ /**
4596
+ * Explicit member accessibility
4597
+ *
4598
+ * plugin: Typescript
4599
+ * category: Restriction
4600
+ * type-aware: false
4601
+ *
4602
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/explicit-member-accessibility.html
4603
+ */
4604
+ 'typescript/explicit-member-accessibility'?: DummyRule;
4565
4605
  /**
4566
4606
  * Explicit module boundary types
4567
4607
  *
@@ -4926,7 +4966,7 @@ interface RuleOptions {
4926
4966
  * No unnecessary qualifier
4927
4967
  *
4928
4968
  * plugin: Typescript
4929
- * category: Nursery
4969
+ * category: Style
4930
4970
  * type-aware: true
4931
4971
  *
4932
4972
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-qualifier.html
@@ -4986,7 +5026,7 @@ interface RuleOptions {
4986
5026
  * No unnecessary type parameters
4987
5027
  *
4988
5028
  * plugin: Typescript
4989
- * category: Nursery
5029
+ * category: Suspicious
4990
5030
  * type-aware: true
4991
5031
  *
4992
5032
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-parameters.html
@@ -5096,7 +5136,7 @@ interface RuleOptions {
5096
5136
  * No useless default assignment
5097
5137
  *
5098
5138
  * plugin: Typescript
5099
- * category: Nursery
5139
+ * category: Correctness
5100
5140
  * type-aware: true
5101
5141
  *
5102
5142
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-useless-default-assignment.html
@@ -5286,7 +5326,7 @@ interface RuleOptions {
5286
5326
  * Prefer readonly parameter types
5287
5327
  *
5288
5328
  * plugin: Typescript
5289
- * category: Nursery
5329
+ * category: Pedantic
5290
5330
  * type-aware: true
5291
5331
  *
5292
5332
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-readonly-parameter-types.html
@@ -5426,7 +5466,7 @@ interface RuleOptions {
5426
5466
  * Strict void return
5427
5467
  *
5428
5468
  * plugin: Typescript
5429
- * category: Nursery
5469
+ * category: Pedantic
5430
5470
  * type-aware: true
5431
5471
  *
5432
5472
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/strict-void-return.html
@@ -5542,6 +5582,16 @@ interface RuleOptions {
5542
5582
  * @see https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.html
5543
5583
  */
5544
5584
  'unicorn/consistent-function-scoping'?: DummyRule;
5585
+ /**
5586
+ * Consistent template literal escape
5587
+ *
5588
+ * plugin: Unicorn
5589
+ * category: Style
5590
+ * type-aware: false
5591
+ *
5592
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-template-literal-escape.html
5593
+ */
5594
+ 'unicorn/consistent-template-literal-escape'?: DummyRule;
5545
5595
  /**
5546
5596
  * Custom error definition
5547
5597
  *
@@ -1,4 +1,4 @@
1
- import { n as TypedOxlintConfig } from "./types-BCBEJUc0.mjs";
1
+ import { n as TypedOxlintConfig } from "./types-x1WTfGaH.mjs";
2
2
 
3
3
  //#region src/typescript.d.ts
4
4
  declare const typescriptConfig: TypedOxlintConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/oxlint-config",
3
- "version": "0.6.1",
3
+ "version": "0.6.3",
4
4
  "description": "Minimal Oxlint config for 2digits projects.",
5
5
  "keywords": [
6
6
  "oxlint-config"
@@ -32,19 +32,19 @@
32
32
  "devDependencies": {
33
33
  "@arethetypeswrong/core": "0.18.2",
34
34
  "@types/node": "24.12.2",
35
- "@typescript/native-preview": "7.0.0-dev.20260408.1",
35
+ "@typescript/native-preview": "7.0.0-dev.20260420.1",
36
36
  "dedent": "1.7.2",
37
- "oxlint": "1.59.0",
38
- "oxlint-tsgolint": "0.20.0",
37
+ "oxlint": "1.61.0",
38
+ "oxlint-tsgolint": "0.21.1",
39
39
  "publint": "0.3.18",
40
40
  "tsx": "4.21.0",
41
- "typescript": "6.0.2",
42
- "vite-plus": "0.1.16",
41
+ "typescript": "6.0.3",
42
+ "vite-plus": "0.1.18",
43
43
  "@2digits/tsconfig": "0.8.7"
44
44
  },
45
45
  "peerDependencies": {
46
- "oxlint": "1.59.0",
47
- "oxlint-tsgolint": "0.20.0"
46
+ "oxlint": "1.61.0",
47
+ "oxlint-tsgolint": "0.21.1"
48
48
  },
49
49
  "public": true,
50
50
  "scripts": {