@2digits/oxlint-config 0.6.1 → 0.6.2

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-D6IckTQt.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-D6IckTQt.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
  *
@@ -4926,7 +4956,7 @@ interface RuleOptions {
4926
4956
  * No unnecessary qualifier
4927
4957
  *
4928
4958
  * plugin: Typescript
4929
- * category: Nursery
4959
+ * category: Style
4930
4960
  * type-aware: true
4931
4961
  *
4932
4962
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-qualifier.html
@@ -4986,7 +5016,7 @@ interface RuleOptions {
4986
5016
  * No unnecessary type parameters
4987
5017
  *
4988
5018
  * plugin: Typescript
4989
- * category: Nursery
5019
+ * category: Suspicious
4990
5020
  * type-aware: true
4991
5021
  *
4992
5022
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-unnecessary-type-parameters.html
@@ -5096,7 +5126,7 @@ interface RuleOptions {
5096
5126
  * No useless default assignment
5097
5127
  *
5098
5128
  * plugin: Typescript
5099
- * category: Nursery
5129
+ * category: Correctness
5100
5130
  * type-aware: true
5101
5131
  *
5102
5132
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/no-useless-default-assignment.html
@@ -5286,7 +5316,7 @@ interface RuleOptions {
5286
5316
  * Prefer readonly parameter types
5287
5317
  *
5288
5318
  * plugin: Typescript
5289
- * category: Nursery
5319
+ * category: Pedantic
5290
5320
  * type-aware: true
5291
5321
  *
5292
5322
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/prefer-readonly-parameter-types.html
@@ -5426,7 +5456,7 @@ interface RuleOptions {
5426
5456
  * Strict void return
5427
5457
  *
5428
5458
  * plugin: Typescript
5429
- * category: Nursery
5459
+ * category: Pedantic
5430
5460
  * type-aware: true
5431
5461
  *
5432
5462
  * @see https://oxc.rs/docs/guide/usage/linter/rules/typescript/strict-void-return.html
@@ -5542,6 +5572,16 @@ interface RuleOptions {
5542
5572
  * @see https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-function-scoping.html
5543
5573
  */
5544
5574
  'unicorn/consistent-function-scoping'?: DummyRule;
5575
+ /**
5576
+ * Consistent template literal escape
5577
+ *
5578
+ * plugin: Unicorn
5579
+ * category: Style
5580
+ * type-aware: false
5581
+ *
5582
+ * @see https://oxc.rs/docs/guide/usage/linter/rules/unicorn/consistent-template-literal-escape.html
5583
+ */
5584
+ 'unicorn/consistent-template-literal-escape'?: DummyRule;
5545
5585
  /**
5546
5586
  * Custom error definition
5547
5587
  *
@@ -1,4 +1,4 @@
1
- import { n as TypedOxlintConfig } from "./types-BCBEJUc0.mjs";
1
+ import { n as TypedOxlintConfig } from "./types-D6IckTQt.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.2",
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.20260415.1",
36
36
  "dedent": "1.7.2",
37
- "oxlint": "1.59.0",
38
- "oxlint-tsgolint": "0.20.0",
37
+ "oxlint": "1.60.0",
38
+ "oxlint-tsgolint": "0.21.0",
39
39
  "publint": "0.3.18",
40
40
  "tsx": "4.21.0",
41
41
  "typescript": "6.0.2",
42
- "vite-plus": "0.1.16",
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.60.0",
47
+ "oxlint-tsgolint": "0.21.0"
48
48
  },
49
49
  "public": true,
50
50
  "scripts": {