@html-validate/eslint-config 9.6.3 → 9.7.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/dist/cli.mjs +5 -1
- package/dist/cli.mjs.map +2 -2
- package/index.mjs +355 -343
- package/package.json +2 -2
- package/template/eslint.config.mjs.njk +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -8906,7 +8906,7 @@ var require_package = __commonJS({
|
|
|
8906
8906
|
"package.json"(exports, module) {
|
|
8907
8907
|
module.exports = {
|
|
8908
8908
|
name: "@html-validate/eslint-config",
|
|
8909
|
-
version: "9.6.
|
|
8909
|
+
version: "9.6.3",
|
|
8910
8910
|
description: "Eslint sharable config used by the various HTML-validate packages",
|
|
8911
8911
|
keywords: [
|
|
8912
8912
|
"eslint"
|
|
@@ -8962,6 +8962,9 @@ var require_package = __commonJS({
|
|
|
8962
8962
|
nunjucks: "3.2.4"
|
|
8963
8963
|
},
|
|
8964
8964
|
devDependencies: {
|
|
8965
|
+
"@types/argparse": "2.0.17",
|
|
8966
|
+
"@types/node": "22.20.0",
|
|
8967
|
+
"@types/nunjucks": "3.2.6",
|
|
8965
8968
|
esbuild: "0.28.1"
|
|
8966
8969
|
},
|
|
8967
8970
|
peerDependencies: {
|
|
@@ -9409,6 +9412,7 @@ async function getFeatures(options, args2) {
|
|
|
9409
9412
|
const pkg2 = JSON.parse(data);
|
|
9410
9413
|
const deps = { ...pkg2.dependencies, ...pkg2.devDependencies };
|
|
9411
9414
|
return {
|
|
9415
|
+
type: pkg2.type ?? "commonjs",
|
|
9412
9416
|
cypress: args2.cypress ?? Boolean(deps.cypress),
|
|
9413
9417
|
jest: args2.jest ?? Boolean(deps.jest),
|
|
9414
9418
|
typeinfo: args2.typeinfo ?? (deps.typescript ? "./tsconfig.json" : false),
|