@2digits/oxlint-config 2.1.3 → 2.1.6

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/README.md CHANGED
@@ -20,4 +20,4 @@ the regression invokes the package's Oxlint CLI directly and removes Vite+'s `VP
20
20
  `NAPI_RS_NATIVE_LIBRARY_PATH` binary override from its child environment. This verifies comment preservation,
21
21
  not Fallow's dead-code analysis.
22
22
 
23
- After building the workspace, run the package's tests with `vp run test` from this directory.
23
+ After building the workspace, run the package's tests with `vpr test` from this directory.
package/dist/base.d.mts CHANGED
@@ -1,4 +1,3 @@
1
- //#region src/base.d.ts
2
1
  export declare const baseConfig: {
3
2
  options: {
4
3
  denyWarnings: true;
@@ -625,5 +624,4 @@ export declare const baseConfig: {
625
624
  };
626
625
  })[];
627
626
  };
628
- //#endregion
629
627
  //# sourceMappingURL=base.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"base.d.mts","names":[],"sources":["../src/base.ts"],"mappings":";qBAYa"}
1
+ {"version":3,"file":"base.d.mts","names":[],"sources":["../src/base.ts"],"mappings":"A,qBAYa"}
package/dist/index.d.mts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { AllowWarnDeny, DummyRuleMap, DummyRuleMap as DummyRuleMap$1, DummyRuleMap as RuleMap, OxlintConfig, OxlintConfig as OxlintConfig$1, OxlintOverride } from "oxlint";
2
2
  import { PaddingLineOption, RuleName as RuleName$1 } from "@2digits/oxlint-plugin";
3
- //#region src/rule-options.d.ts
4
3
  type RuleWithOptions<T> = AllowWarnDeny | [AllowWarnDeny, T];
5
4
  type TwoDigitsRuleMap = Partial<Record<`2digits/${Exclude<RuleName$1, 'padding-line-between-statements'>}`, AllowWarnDeny>>;
6
5
  interface NoConflictingChecksOptions {
@@ -87,8 +86,6 @@ declare module 'oxlint' {
87
86
  }>;
88
87
  }
89
88
  }
90
- //#endregion
91
- //#region src/config.d.ts
92
89
  /**
93
90
  * Complete 2digits Oxlint configuration.
94
91
  */
@@ -2169,9 +2166,6 @@ export declare const twoDigits: Omit<{
2169
2166
  * @param configs Consumer configurations to merge into the defaults.
2170
2167
  */
2171
2168
  export declare function withTwoDigits(...configs: Array<OxlintConfig$1>): OxlintConfig$1;
2172
- //#endregion
2173
- //#region src/index.d.ts
2174
2169
  export type RuleName = keyof DummyRuleMap$1;
2175
- //#endregion
2176
2170
  export { type DummyRuleMap, type OxlintConfig, type OxlintOverride, type RuleMap, withTwoDigits as default };
2177
2171
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":["TwoDigitsRuleName","OxlintConfig","DummyRuleMap"],"sources":["../src/rule-options.ts","../src/config.ts","../src/index.ts"],"mappings":";;;KAIK,gBAAgB,KAAK,iBAAiB,eAAe;KAErD,mBAAmB,QACtB,kBAAkB,QAAQA,kDAAyD;UAG3E;WACC;WACA;WACA;;;;;;;;YASC,qBAAqB;IAC7B,4CAA4C,iBAAiB,kBAAkB,MAAM;IACrF,gCAAgC;IAChC,0BAA0B;eACf;eACA;;IAEX,oBAAoB;eAA2B;;IAC/C,0BAA0B;eAA2B;;IACrD,iCAAiC;eAA2B,SAAS;;IACrE,sCAAsC;eAC3B,OAAO;;IAElB,4CAA4C;eACjC;;IAEX,mCAAmC;eACxB;eACA;;IAEX,sBAAsB;IACtB,0BAA0B;IAC1B,8BAA8B,gBAAgB;IAC9C,oCAAoC;IACpC,gCAAgC;IAChC,+BAA+B;IAC/B,kCAAkC;IAClC,uBAAuB;IACvB,qCAAqC;IACrC,kCAAkC;IAClC,wCAAwC;IACxC,qCAAqC;IACrC,mCAAmC;IACnC,mCAAmC;IACnC,yCAAyC;eAC9B;;IAEX,0BAA0B;IAC1B,mCAAmC;IACnC,mCAAmC;IACnC,2BAA2B;IAC3B,mCAAmC;IACnC,0BAA0B;IAC1B,gCAAgC;IAChC,uCAAuC;IACvC,4BAA4B;IAC5B,yCAAyC;IACzC,oBAAoB;IACpB,yBAAyB;IACzB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgCN,iBAAiB,SAAS,MAAMC,kBAAgBA;;;YCpCpD,iBAAiBC"}
1
+ {"version":3,"file":"index.d.mts","names":["TwoDigitsRuleName","OxlintConfig","DummyRuleMap"],"sources":["../src/rule-options.ts","../src/config.ts","../src/index.ts"],"mappings":";;KAIK,gBAAgB,KAAK,iBAAiB,eAAe;KAErD,mBAAmB,QACtB,kBAAkB,QAAQA,kDAAyD;UAG3E;WACC;WACA;WACA;;;;;;;;YASC,qBAAqB;IAC7B,4CAA4C,iBAAiB,kBAAkB,MAAM;IACrF,gCAAgC;IAChC,0BAA0B;eACf;eACA;;IAEX,oBAAoB;eAA2B;;IAC/C,0BAA0B;eAA2B;;IACrD,iCAAiC;eAA2B,SAAS;;IACrE,sCAAsC;eAC3B,OAAO;;IAElB,4CAA4C;eACjC;;IAEX,mCAAmC;eACxB;eACA;;IAEX,sBAAsB;IACtB,0BAA0B;IAC1B,8BAA8B,gBAAgB;IAC9C,oCAAoC;IACpC,gCAAgC;IAChC,+BAA+B;IAC/B,kCAAkC;IAClC,uBAAuB;IACvB,qCAAqC;IACrC,kCAAkC;IAClC,wCAAwC;IACxC,qCAAqC;IACrC,mCAAmC;IACnC,mCAAmC;IACnC,yCAAyC;eAC9B;;IAEX,0BAA0B;IAC1B,mCAAmC;IACnC,mCAAmC;IACnC,2BAA2B;IAC3B,mCAAmC;IACnC,0BAA0B;IAC1B,gCAAgC;IAChC,uCAAuC;IACvC,4BAA4B;IAC5B,yCAAyC;IACzC,oBAAoB;IACpB,yBAAyB;IACzB,uBAAuB;IACvB,6BAA6B;IAC7B,0CAA0C;IA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAgCN,iBAAiB,SAAS,MAAMC,kBAAgBA;YCpCpD,iBAAiBC"}
@@ -1,4 +1,3 @@
1
- //#region src/typescript.d.ts
2
1
  export declare const typescriptConfig: {
3
2
  options: {
4
3
  denyWarnings: true;
@@ -419,5 +418,4 @@ export declare const typescriptConfig: {
419
418
  };
420
419
  })[];
421
420
  };
422
- //#endregion
423
421
  //# sourceMappingURL=typescript.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"typescript.d.mts","names":[],"sources":["../src/typescript.ts"],"mappings":";qBAQa"}
1
+ {"version":3,"file":"typescript.d.mts","names":[],"sources":["../src/typescript.ts"],"mappings":"A,qBAQa"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2digits/oxlint-config",
3
- "version": "2.1.3",
3
+ "version": "2.1.6",
4
4
  "description": "Minimal Oxlint config for 2digits projects.",
5
5
  "keywords": [
6
6
  "oxlint-config"
@@ -28,28 +28,28 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@2digits/constants": "1.1.20",
31
- "@2digits/oxlint-plugin": "0.3.2",
31
+ "@2digits/oxlint-plugin": "0.3.5",
32
32
  "@stylistic/eslint-plugin": "5.10.0",
33
33
  "defu": "6.1.7",
34
- "eslint-plugin-zod": "5.2.0"
34
+ "eslint-plugin-zod": "5.2.2"
35
35
  },
36
36
  "devDependencies": {
37
- "@2digits/eslint-config": "5.9.3",
38
- "@2digits/tsconfig": "1.0.2",
37
+ "@2digits/eslint-config": "5.9.6",
38
+ "@2digits/tsconfig": "1.0.5",
39
39
  "@arethetypeswrong/core": "0.18.5",
40
40
  "@types/node": "24.19.2",
41
41
  "dedent": "1.7.2",
42
42
  "oxlint": "1.89.0",
43
- "oxlint-tsgolint": "7.0.2004",
43
+ "oxlint-tsgolint": "7.0.2005",
44
44
  "publint": "0.3.25",
45
- "typescript": "7.0.2",
46
- "vite-plus": "1.3.0",
45
+ "typescript": "7.1.0-beta",
46
+ "vite-plus": "1.4.0",
47
47
  "vitest": "5.0.5",
48
48
  "zod": "4.6.7"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "oxlint": "1.89.0",
52
- "oxlint-tsgolint": "7.0.2004"
52
+ "oxlint-tsgolint": "7.0.2005"
53
53
  },
54
54
  "public": true,
55
55
  "scripts": {