@isentinel/eslint-config 6.3.0 → 6.4.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 +7 -5
- package/dist/cli.mjs +6 -6
- package/dist/index.d.mts +943 -139
- package/dist/index.mjs +565 -351
- package/dist/lint-cli.mjs +64 -54
- package/dist/oxfmt.mjs +17 -6
- package/dist/oxlint.d.mts +1007 -97
- package/dist/oxlint.mjs +196 -55
- package/package.json +16 -16
package/README.md
CHANGED
|
@@ -349,11 +349,13 @@ engines would run (default mode or `--fix`), the runner checks whether the
|
|
|
349
349
|
resolved config is hybrid; if it is not, it **runs ESLint only, skips oxlint,
|
|
350
350
|
and prints one stderr warning** (enable hybrid mode, or pass `--oxlint` to run
|
|
351
351
|
oxlint explicitly). The check is cheap: the factory records the hybrid status in
|
|
352
|
-
`node_modules/.cache/isentinel-lint/`
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
352
|
+
`node_modules/.cache/isentinel-lint/` whenever the runner's ESLint children
|
|
353
|
+
evaluate the config (other evaluations, such as tests or scripts that build a
|
|
354
|
+
different config, do not write it), and the runner trusts that cache unless your
|
|
355
|
+
ESLint config is newer, in which case it probes `eslint --print-config` once and
|
|
356
|
+
caches the result. If the status cannot be determined it fails open and runs
|
|
357
|
+
both engines as before. Explicit `--eslint` / `--oxlint` runs skip the check
|
|
358
|
+
entirely.
|
|
357
359
|
|
|
358
360
|
Any trailing positional arguments are treated as paths to lint (default `.`).
|
|
359
361
|
|
package/dist/cli.mjs
CHANGED
|
@@ -83,7 +83,7 @@ function oxfmtConfigNamesIn(directory) {
|
|
|
83
83
|
}
|
|
84
84
|
//#endregion
|
|
85
85
|
//#region package.json
|
|
86
|
-
var version = "6.
|
|
86
|
+
var version = "6.4.0";
|
|
87
87
|
var package_default = {
|
|
88
88
|
name: "@isentinel/eslint-config",
|
|
89
89
|
version,
|
|
@@ -145,7 +145,7 @@ var package_default = {
|
|
|
145
145
|
"dev": "npx @eslint/config-inspector --config eslint-inspector.config.ts",
|
|
146
146
|
"gen": "node scripts/typegen.ts && node scripts/typegen-oxlint.ts && node scripts/typegen-defaults.ts && node scripts/typegen-defaults-oxlint.ts && node scripts/versiongen.ts && node scripts/stylistic-gen.ts && node scripts/type-aware-gen.ts && node scripts/roblox-allowed-words-gen.ts && node scripts/gen-package-extensions.ts",
|
|
147
147
|
"postgen": "echo 'Generation complete!'",
|
|
148
|
-
"lint": "isentinel-lint",
|
|
148
|
+
"lint": "isentinel-lint --eslint-args \"--max-warnings 0\" --oxlint-args --deny-warnings",
|
|
149
149
|
"oxlint": "oxlint",
|
|
150
150
|
"prepack": "nr build",
|
|
151
151
|
"release": "bumpp -r",
|
|
@@ -264,8 +264,8 @@ var package_default = {
|
|
|
264
264
|
"eslint-plugin-react-naming-convention": "^5.10.0",
|
|
265
265
|
"eslint-plugin-react-x": "^5.10.0",
|
|
266
266
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
267
|
-
"oxlint": ">=1.
|
|
268
|
-
"oxlint-tsgolint": ">=0.
|
|
267
|
+
"oxlint": ">=1.92.0",
|
|
268
|
+
"oxlint-tsgolint": ">=7.0.2005"
|
|
269
269
|
},
|
|
270
270
|
peerDependenciesMeta: {
|
|
271
271
|
"@vitest/eslint-plugin": { "optional": true },
|
|
@@ -281,8 +281,8 @@ var package_default = {
|
|
|
281
281
|
"oxlint": { "optional": true },
|
|
282
282
|
"oxlint-tsgolint": { "optional": true }
|
|
283
283
|
},
|
|
284
|
-
packageManager: "pnpm@
|
|
285
|
-
engines: { "node": ">=24.
|
|
284
|
+
packageManager: "pnpm@12.18.0+sha512.9d7882d5dc82147ecfc4e062aa34834e0ad0296710a1837a1115ae012127d36b7109e321ac1598a1dd0a65597681b1e99917e12ed0d749eae91187943363beb3",
|
|
285
|
+
engines: { "node": ">=24.15.0" },
|
|
286
286
|
publishConfig: { "access": "public" }
|
|
287
287
|
};
|
|
288
288
|
//#endregion
|