@jterrazz/test 15.1.1 → 15.3.0
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 +38 -29
- package/dist/ambiguity.js +23 -4
- package/dist/artifacts.js +108 -163
- package/dist/browser/index.js +2796 -0
- package/dist/checker.js +470 -29
- package/dist/index.d.ts +1434 -609
- package/dist/index.js +3696 -2745
- package/dist/intercept.js +117 -59
- package/dist/oxlint.cjs +481 -35
- package/dist/oxlint.d.cts +13 -1
- package/dist/oxlint.d.ts +13 -1
- package/dist/oxlint.js +481 -35
- package/dist/playwright.adapter.js +96 -22
- package/dist/{queue.js → stream.js} +61 -2
- package/dist/vitest.d.ts +130 -2
- package/dist/vitest.js +433 -3
- package/package.json +37 -5
package/dist/oxlint.d.cts
CHANGED
|
@@ -7119,17 +7119,29 @@ type RuleDoc = {
|
|
|
7119
7119
|
channel: 'checker' | 'process' | 'runtime' | 'statique';
|
|
7120
7120
|
/** The French normative sentence (the constitution's per-rule text, moved here). */
|
|
7121
7121
|
convention: string;
|
|
7122
|
+
/**
|
|
7123
|
+
* One imperative line: what to DO about it. A ban with no destination is an
|
|
7124
|
+
* argument rather than a rule, so the catalogue and the message carry the
|
|
7125
|
+
* same fix. A row that states none renders `—`.
|
|
7126
|
+
*/
|
|
7127
|
+
fix?: string;
|
|
7122
7128
|
/**
|
|
7123
7129
|
* The specification facet the rule guards — segments the catalogue like
|
|
7124
7130
|
* the constructors segment the API. `'shared'` for cross-facet rules.
|
|
7125
7131
|
*/
|
|
7126
|
-
facet?: 'api' | 'cli' | 'jobs' | 'mobile' | 'shared' | 'website';
|
|
7132
|
+
facet?: 'api' | 'cli' | 'component' | 'integration' | 'jobs' | 'mobile' | 'shared' | 'website';
|
|
7127
7133
|
/** Convention family letter, e.g. `'A'`. */
|
|
7128
7134
|
family: string;
|
|
7129
7135
|
/** Convention code, e.g. `'A1'`. */
|
|
7130
7136
|
id: string;
|
|
7131
7137
|
/** One line: why the rule exists. */
|
|
7132
7138
|
rationale: string;
|
|
7139
|
+
/**
|
|
7140
|
+
* Which files the rule looks at — the vocabulary of `roleOf` plus the two
|
|
7141
|
+
* shapes that are not a role (`tests`, everything the conventions bind, and
|
|
7142
|
+
* `all`). A row that states none renders `—`.
|
|
7143
|
+
*/
|
|
7144
|
+
reach?: 'all' | 'component' | 'config' | 'document' | 'ground' | 'module' | 'specification' | 'specs' | 'tests';
|
|
7133
7145
|
};
|
|
7134
7146
|
/** Rule metadata (the subset we set). */
|
|
7135
7147
|
type RuleMeta = {
|
package/dist/oxlint.d.ts
CHANGED
|
@@ -7119,17 +7119,29 @@ type RuleDoc = {
|
|
|
7119
7119
|
channel: 'checker' | 'process' | 'runtime' | 'statique';
|
|
7120
7120
|
/** The French normative sentence (the constitution's per-rule text, moved here). */
|
|
7121
7121
|
convention: string;
|
|
7122
|
+
/**
|
|
7123
|
+
* One imperative line: what to DO about it. A ban with no destination is an
|
|
7124
|
+
* argument rather than a rule, so the catalogue and the message carry the
|
|
7125
|
+
* same fix. A row that states none renders `—`.
|
|
7126
|
+
*/
|
|
7127
|
+
fix?: string;
|
|
7122
7128
|
/**
|
|
7123
7129
|
* The specification facet the rule guards — segments the catalogue like
|
|
7124
7130
|
* the constructors segment the API. `'shared'` for cross-facet rules.
|
|
7125
7131
|
*/
|
|
7126
|
-
facet?: 'api' | 'cli' | 'jobs' | 'mobile' | 'shared' | 'website';
|
|
7132
|
+
facet?: 'api' | 'cli' | 'component' | 'integration' | 'jobs' | 'mobile' | 'shared' | 'website';
|
|
7127
7133
|
/** Convention family letter, e.g. `'A'`. */
|
|
7128
7134
|
family: string;
|
|
7129
7135
|
/** Convention code, e.g. `'A1'`. */
|
|
7130
7136
|
id: string;
|
|
7131
7137
|
/** One line: why the rule exists. */
|
|
7132
7138
|
rationale: string;
|
|
7139
|
+
/**
|
|
7140
|
+
* Which files the rule looks at — the vocabulary of `roleOf` plus the two
|
|
7141
|
+
* shapes that are not a role (`tests`, everything the conventions bind, and
|
|
7142
|
+
* `all`). A row that states none renders `—`.
|
|
7143
|
+
*/
|
|
7144
|
+
reach?: 'all' | 'component' | 'config' | 'document' | 'ground' | 'module' | 'specification' | 'specs' | 'tests';
|
|
7133
7145
|
};
|
|
7134
7146
|
/** Rule metadata (the subset we set). */
|
|
7135
7147
|
type RuleMeta = {
|