@croct/eslint-plugin 0.9.1 → 0.9.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/index.cjs +225 -174
- package/package.json +3 -2
package/index.cjs
CHANGED
|
@@ -550,7 +550,68 @@ const importMetaUrl$1 = require("url").pathToFileURL(__filename).href;
|
|
|
550
550
|
const cjsRequire = importMetaUrl$1 ? (0, node_module.createRequire)(importMetaUrl$1) : require;
|
|
551
551
|
//#endregion
|
|
552
552
|
//#region node_modules/eslint-plugin-import-x/lib/meta.js
|
|
553
|
-
const { name, version } =
|
|
553
|
+
const { name, version } = {
|
|
554
|
+
"name": "eslint-plugin-import-x",
|
|
555
|
+
"version": "4.16.2",
|
|
556
|
+
"type": "module",
|
|
557
|
+
"description": "Import with sanity.",
|
|
558
|
+
"repository": "https://github.com/un-ts/eslint-plugin-import-x",
|
|
559
|
+
"homepage": "https://github.com/un-ts/eslint-plugin-import-x#readme",
|
|
560
|
+
"author": "JounQin <admin@1stg.me> (https://www.1stG.me)",
|
|
561
|
+
"funding": "https://opencollective.com/eslint-plugin-import-x",
|
|
562
|
+
"license": "MIT",
|
|
563
|
+
"engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" },
|
|
564
|
+
"main": "lib/index.cjs",
|
|
565
|
+
"types": "lib/index.d.cts",
|
|
566
|
+
"module": "lib/index.js",
|
|
567
|
+
"exports": {
|
|
568
|
+
".": {
|
|
569
|
+
"import": {
|
|
570
|
+
"types": "./lib/index.d.ts",
|
|
571
|
+
"default": "./lib/index.js"
|
|
572
|
+
},
|
|
573
|
+
"require": {
|
|
574
|
+
"types": "./lib/index.d.cts",
|
|
575
|
+
"default": "./lib/index.cjs"
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
"./utils": "./lib/utils/index.js",
|
|
579
|
+
"./package.json": "./package.json",
|
|
580
|
+
"./*": "./lib/*.js"
|
|
581
|
+
},
|
|
582
|
+
"files": ["lib", "!lib/*.tsbuildinfo"],
|
|
583
|
+
"keywords": [
|
|
584
|
+
"eslint",
|
|
585
|
+
"eslintplugin",
|
|
586
|
+
"eslint-plugin",
|
|
587
|
+
"es6",
|
|
588
|
+
"jsnext",
|
|
589
|
+
"modules",
|
|
590
|
+
"import",
|
|
591
|
+
"export"
|
|
592
|
+
],
|
|
593
|
+
"peerDependencies": {
|
|
594
|
+
"@typescript-eslint/utils": "^8.56.0",
|
|
595
|
+
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
596
|
+
"eslint-import-resolver-node": "*"
|
|
597
|
+
},
|
|
598
|
+
"peerDependenciesMeta": {
|
|
599
|
+
"@typescript-eslint/utils": { "optional": true },
|
|
600
|
+
"eslint-import-resolver-node": { "optional": true }
|
|
601
|
+
},
|
|
602
|
+
"dependencies": {
|
|
603
|
+
"@package-json/types": "^0.0.12",
|
|
604
|
+
"@typescript-eslint/types": "^8.56.0",
|
|
605
|
+
"comment-parser": "^1.4.1",
|
|
606
|
+
"debug": "^4.4.1",
|
|
607
|
+
"eslint-import-context": "^0.1.9",
|
|
608
|
+
"is-glob": "^4.0.3",
|
|
609
|
+
"minimatch": "^9.0.3 || ^10.1.2",
|
|
610
|
+
"semver": "^7.7.2",
|
|
611
|
+
"stable-hash-x": "^0.2.0",
|
|
612
|
+
"unrs-resolver": "^1.9.2"
|
|
613
|
+
}
|
|
614
|
+
};
|
|
554
615
|
const meta = {
|
|
555
616
|
name,
|
|
556
617
|
version
|
|
@@ -19310,61 +19371,56 @@ var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
19310
19371
|
})();
|
|
19311
19372
|
}));
|
|
19312
19373
|
//#endregion
|
|
19313
|
-
//#region node_modules/doctrine/package.json
|
|
19314
|
-
var require_package$3 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
19315
|
-
module.exports = {
|
|
19316
|
-
"name": "doctrine",
|
|
19317
|
-
"description": "JSDoc parser",
|
|
19318
|
-
"homepage": "https://github.com/eslint/doctrine",
|
|
19319
|
-
"main": "lib/doctrine.js",
|
|
19320
|
-
"version": "2.1.0",
|
|
19321
|
-
"engines": { "node": ">=0.10.0" },
|
|
19322
|
-
"directories": { "lib": "./lib" },
|
|
19323
|
-
"files": ["lib"],
|
|
19324
|
-
"maintainers": [{
|
|
19325
|
-
"name": "Nicholas C. Zakas",
|
|
19326
|
-
"email": "nicholas+npm@nczconsulting.com",
|
|
19327
|
-
"web": "https://www.nczonline.net"
|
|
19328
|
-
}, {
|
|
19329
|
-
"name": "Yusuke Suzuki",
|
|
19330
|
-
"email": "utatane.tea@gmail.com",
|
|
19331
|
-
"web": "https://github.com/Constellation"
|
|
19332
|
-
}],
|
|
19333
|
-
"repository": "eslint/doctrine",
|
|
19334
|
-
"devDependencies": {
|
|
19335
|
-
"coveralls": "^2.11.2",
|
|
19336
|
-
"dateformat": "^1.0.11",
|
|
19337
|
-
"eslint": "^1.10.3",
|
|
19338
|
-
"eslint-release": "^0.10.0",
|
|
19339
|
-
"linefix": "^0.1.1",
|
|
19340
|
-
"mocha": "^3.4.2",
|
|
19341
|
-
"npm-license": "^0.3.1",
|
|
19342
|
-
"nyc": "^10.3.2",
|
|
19343
|
-
"semver": "^5.0.3",
|
|
19344
|
-
"shelljs": "^0.5.3",
|
|
19345
|
-
"shelljs-nodecli": "^0.1.1",
|
|
19346
|
-
"should": "^5.0.1"
|
|
19347
|
-
},
|
|
19348
|
-
"license": "Apache-2.0",
|
|
19349
|
-
"scripts": {
|
|
19350
|
-
"pretest": "npm run lint",
|
|
19351
|
-
"test": "nyc mocha",
|
|
19352
|
-
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
|
19353
|
-
"lint": "eslint lib/",
|
|
19354
|
-
"release": "eslint-release",
|
|
19355
|
-
"ci-release": "eslint-ci-release",
|
|
19356
|
-
"alpharelease": "eslint-prerelease alpha",
|
|
19357
|
-
"betarelease": "eslint-prerelease beta"
|
|
19358
|
-
},
|
|
19359
|
-
"dependencies": { "esutils": "^2.0.2" }
|
|
19360
|
-
};
|
|
19361
|
-
}));
|
|
19362
|
-
//#endregion
|
|
19363
19374
|
//#region node_modules/doctrine/lib/utility.js
|
|
19364
19375
|
var require_utility = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
19365
19376
|
(function() {
|
|
19366
19377
|
"use strict";
|
|
19367
|
-
exports.VERSION =
|
|
19378
|
+
exports.VERSION = {
|
|
19379
|
+
"name": "doctrine",
|
|
19380
|
+
"description": "JSDoc parser",
|
|
19381
|
+
"homepage": "https://github.com/eslint/doctrine",
|
|
19382
|
+
"main": "lib/doctrine.js",
|
|
19383
|
+
"version": "2.1.0",
|
|
19384
|
+
"engines": { "node": ">=0.10.0" },
|
|
19385
|
+
"directories": { "lib": "./lib" },
|
|
19386
|
+
"files": ["lib"],
|
|
19387
|
+
"maintainers": [{
|
|
19388
|
+
"name": "Nicholas C. Zakas",
|
|
19389
|
+
"email": "nicholas+npm@nczconsulting.com",
|
|
19390
|
+
"web": "https://www.nczonline.net"
|
|
19391
|
+
}, {
|
|
19392
|
+
"name": "Yusuke Suzuki",
|
|
19393
|
+
"email": "utatane.tea@gmail.com",
|
|
19394
|
+
"web": "https://github.com/Constellation"
|
|
19395
|
+
}],
|
|
19396
|
+
"repository": "eslint/doctrine",
|
|
19397
|
+
"devDependencies": {
|
|
19398
|
+
"coveralls": "^2.11.2",
|
|
19399
|
+
"dateformat": "^1.0.11",
|
|
19400
|
+
"eslint": "^1.10.3",
|
|
19401
|
+
"eslint-release": "^0.10.0",
|
|
19402
|
+
"linefix": "^0.1.1",
|
|
19403
|
+
"mocha": "^3.4.2",
|
|
19404
|
+
"npm-license": "^0.3.1",
|
|
19405
|
+
"nyc": "^10.3.2",
|
|
19406
|
+
"semver": "^5.0.3",
|
|
19407
|
+
"shelljs": "^0.5.3",
|
|
19408
|
+
"shelljs-nodecli": "^0.1.1",
|
|
19409
|
+
"should": "^5.0.1"
|
|
19410
|
+
},
|
|
19411
|
+
"license": "Apache-2.0",
|
|
19412
|
+
"scripts": {
|
|
19413
|
+
"pretest": "npm run lint",
|
|
19414
|
+
"test": "nyc mocha",
|
|
19415
|
+
"coveralls": "nyc report --reporter=text-lcov | coveralls",
|
|
19416
|
+
"lint": "eslint lib/",
|
|
19417
|
+
"release": "eslint-release",
|
|
19418
|
+
"ci-release": "eslint-ci-release",
|
|
19419
|
+
"alpharelease": "eslint-prerelease alpha",
|
|
19420
|
+
"betarelease": "eslint-prerelease beta"
|
|
19421
|
+
},
|
|
19422
|
+
"dependencies": { "esutils": "^2.0.2" }
|
|
19423
|
+
}.version;
|
|
19368
19424
|
function DoctrineError(message) {
|
|
19369
19425
|
this.name = "DoctrineError";
|
|
19370
19426
|
this.message = message;
|
|
@@ -88200,7 +88256,7 @@ var require_config_error = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
88200
88256
|
}));
|
|
88201
88257
|
//#endregion
|
|
88202
88258
|
//#region node_modules/@babel/core/lib/config/files/package.js
|
|
88203
|
-
var require_package$
|
|
88259
|
+
var require_package$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
88204
88260
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
88205
88261
|
exports.findPackageData = findPackageData;
|
|
88206
88262
|
function _path$11() {
|
|
@@ -125977,7 +126033,7 @@ var require_files = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
125977
126033
|
return _configuration.resolveShowConfigPath;
|
|
125978
126034
|
}
|
|
125979
126035
|
});
|
|
125980
|
-
var _package = require_package$
|
|
126036
|
+
var _package = require_package$1();
|
|
125981
126037
|
var _configuration = require_configuration();
|
|
125982
126038
|
var _plugins = require_plugins();
|
|
125983
126039
|
}));
|
|
@@ -242734,7 +242790,7 @@ var require_eslint_plugin_react_hooks = /* @__PURE__ */ __commonJSMin(((exports,
|
|
|
242734
242790
|
}));
|
|
242735
242791
|
//#endregion
|
|
242736
242792
|
//#region node_modules/eslint-plugin-jest-dom/package.json
|
|
242737
|
-
var require_package
|
|
242793
|
+
var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
242738
242794
|
module.exports = {
|
|
242739
242795
|
"name": "eslint-plugin-jest-dom",
|
|
242740
242796
|
"version": "5.5.0",
|
|
@@ -244064,7 +244120,7 @@ var import_eslint_plugin_react_hooks = /* @__PURE__ */ __toESM(require_eslint_pl
|
|
|
244064
244120
|
* directory at runtime, which breaks when bundled. This shim pre-resolves
|
|
244065
244121
|
* all rule imports so the bundler can include them statically.
|
|
244066
244122
|
*/
|
|
244067
|
-
const packageJson = require_package
|
|
244123
|
+
const packageJson = require_package();
|
|
244068
244124
|
const pluginName = packageJson.name;
|
|
244069
244125
|
const pluginVersion = packageJson.version;
|
|
244070
244126
|
const preferChecked = require_prefer_checked();
|
|
@@ -244122,123 +244178,6 @@ var require_legacy_config_base = /* @__PURE__ */ __commonJSMin(((exports, module
|
|
|
244122
244178
|
module.exports = { parserOptions: { ecmaFeatures: { jsx: true } } };
|
|
244123
244179
|
}));
|
|
244124
244180
|
//#endregion
|
|
244125
|
-
//#region node_modules/eslint-plugin-jsx-a11y/package.json
|
|
244126
|
-
var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
244127
|
-
module.exports = {
|
|
244128
|
-
"name": "eslint-plugin-jsx-a11y",
|
|
244129
|
-
"version": "6.10.2",
|
|
244130
|
-
"description": "Static AST checker for accessibility rules on JSX elements.",
|
|
244131
|
-
"keywords": [
|
|
244132
|
-
"eslint",
|
|
244133
|
-
"eslintplugin",
|
|
244134
|
-
"eslint-plugin",
|
|
244135
|
-
"a11y",
|
|
244136
|
-
"accessibility",
|
|
244137
|
-
"jsx"
|
|
244138
|
-
],
|
|
244139
|
-
"author": "Ethan Cohen",
|
|
244140
|
-
"repository": {
|
|
244141
|
-
"type": "git",
|
|
244142
|
-
"url": "https://github.com/jsx-eslint/eslint-plugin-jsx-a11y"
|
|
244143
|
-
},
|
|
244144
|
-
"main": "lib/index.js",
|
|
244145
|
-
"scripts": {
|
|
244146
|
-
"prepack": "npmignore --auto --commentLines=autogenerated && npm run build",
|
|
244147
|
-
"build": "rimraf lib && babel src --out-dir lib --copy-files",
|
|
244148
|
-
"create": "node ./scripts/create-rule",
|
|
244149
|
-
"flow": "flow",
|
|
244150
|
-
"lint:fix": "npm run lint -- --fix",
|
|
244151
|
-
"lint": "npx eslint@8 --ext=js,mjs,cjs,ts,tsx .",
|
|
244152
|
-
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
244153
|
-
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run tests-only",
|
|
244154
|
-
"pretest": "npm run lint:fix && npm run flow",
|
|
244155
|
-
"test": "npm run tests-only",
|
|
244156
|
-
"tests-only": "tape --require=@babel/register '__tests__/**/*.js'",
|
|
244157
|
-
"posttest": "npx npm@'>=10.2' audit --production",
|
|
244158
|
-
"pretest:examples": "npm run build",
|
|
244159
|
-
"test:examples": "npm run test-example:legacy && npm run test-example:flat-esm && npm run test-example:flat-cjs",
|
|
244160
|
-
"test-example:legacy": "cd examples/legacy && npm install && npm run lint",
|
|
244161
|
-
"test-example:flat-esm": "cd examples/flat-esm && npm install && npm run lint",
|
|
244162
|
-
"test-example:flat-cjs": "cd examples/flat-cjs && npm install && npm run lint",
|
|
244163
|
-
"pregenerate-list-of-rules": "npm run build",
|
|
244164
|
-
"generate-list-of-rules": "eslint-doc-generator --rule-doc-title-format prefix-name --rule-doc-section-options false --config-emoji recommended,☑️ --ignore-config flat/recommended --ignore-config flat/strict",
|
|
244165
|
-
"generate-list-of-rules:check": "npm run generate-list-of-rules -- --check",
|
|
244166
|
-
"version": "auto-changelog && git add CHANGELOG.md",
|
|
244167
|
-
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
244168
|
-
},
|
|
244169
|
-
"devDependencies": {
|
|
244170
|
-
"@babel/cli": "^7.25.9",
|
|
244171
|
-
"@babel/core": "^7.26.0",
|
|
244172
|
-
"@babel/eslint-parser": "^7.25.9",
|
|
244173
|
-
"@babel/plugin-transform-flow-strip-types": "^7.25.9",
|
|
244174
|
-
"@babel/register": "^7.25.9",
|
|
244175
|
-
"auto-changelog": "^2.5.0",
|
|
244176
|
-
"babel-plugin-add-module-exports": "^1.0.4",
|
|
244177
|
-
"babel-preset-airbnb": "^5.0.0",
|
|
244178
|
-
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9",
|
|
244179
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
244180
|
-
"eslint-doc-generator": "^1.7.1",
|
|
244181
|
-
"eslint-plugin-eslint-plugin": "^4.3.0",
|
|
244182
|
-
"eslint-plugin-flowtype": "^5.8.0 || ^8.0.3",
|
|
244183
|
-
"eslint-plugin-import": "^2.31.0",
|
|
244184
|
-
"estraverse": "^5.3.0",
|
|
244185
|
-
"flow-bin": "^0.147.0",
|
|
244186
|
-
"in-publish": "^2.0.1",
|
|
244187
|
-
"jackspeak": "=2.1.1",
|
|
244188
|
-
"jscodeshift": "^17.0.0",
|
|
244189
|
-
"minimist": "^1.2.8",
|
|
244190
|
-
"npmignore": "^0.3.1",
|
|
244191
|
-
"object.assign": "^4.1.5",
|
|
244192
|
-
"object.entries": "^1.1.8",
|
|
244193
|
-
"rimraf": "^3.0.2",
|
|
244194
|
-
"safe-publish-latest": "^2.0.0",
|
|
244195
|
-
"semver": "^6.3.1",
|
|
244196
|
-
"tape": "^5.9.0",
|
|
244197
|
-
"to-ast": "^1.0.0"
|
|
244198
|
-
},
|
|
244199
|
-
"engines": { "node": ">=4.0" },
|
|
244200
|
-
"license": "MIT",
|
|
244201
|
-
"dependencies": {
|
|
244202
|
-
"aria-query": "^5.3.2",
|
|
244203
|
-
"array-includes": "^3.1.8",
|
|
244204
|
-
"array.prototype.flatmap": "^1.3.2",
|
|
244205
|
-
"ast-types-flow": "^0.0.8",
|
|
244206
|
-
"axe-core": "^4.10.0",
|
|
244207
|
-
"axobject-query": "^4.1.0",
|
|
244208
|
-
"damerau-levenshtein": "^1.0.8",
|
|
244209
|
-
"emoji-regex": "^9.2.2",
|
|
244210
|
-
"hasown": "^2.0.2",
|
|
244211
|
-
"jsx-ast-utils": "^3.3.5",
|
|
244212
|
-
"language-tags": "^1.0.9",
|
|
244213
|
-
"minimatch": "^3.1.2",
|
|
244214
|
-
"object.fromentries": "^2.0.8",
|
|
244215
|
-
"safe-regex-test": "^1.0.3",
|
|
244216
|
-
"string.prototype.includes": "^2.0.1"
|
|
244217
|
-
},
|
|
244218
|
-
"peerDependencies": { "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" },
|
|
244219
|
-
"auto-changelog": {
|
|
244220
|
-
"output": "CHANGELOG.md",
|
|
244221
|
-
"template": "keepachangelog",
|
|
244222
|
-
"unreleased": false,
|
|
244223
|
-
"commitLimit": false,
|
|
244224
|
-
"backfillLimit": false,
|
|
244225
|
-
"hideCredit": true,
|
|
244226
|
-
"startingVersion": "6.6.2"
|
|
244227
|
-
},
|
|
244228
|
-
"publishConfig": { "ignore": [
|
|
244229
|
-
"!lib",
|
|
244230
|
-
".github/workflows",
|
|
244231
|
-
".flowconfig",
|
|
244232
|
-
"/src",
|
|
244233
|
-
"/reports",
|
|
244234
|
-
"/flow",
|
|
244235
|
-
"scripts/",
|
|
244236
|
-
"CONTRIBUTING.md",
|
|
244237
|
-
"/examples"
|
|
244238
|
-
] }
|
|
244239
|
-
};
|
|
244240
|
-
}));
|
|
244241
|
-
//#endregion
|
|
244242
244181
|
//#region node_modules/emoji-regex/index.js
|
|
244243
244182
|
var require_emoji_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
244244
244183
|
module.exports = function() {
|
|
@@ -374948,7 +374887,119 @@ var import_lib = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((export
|
|
|
374948
374887
|
}
|
|
374949
374888
|
var flatConfigBase = require_flat_config_base();
|
|
374950
374889
|
var legacyConfigBase = require_legacy_config_base();
|
|
374951
|
-
var _require =
|
|
374890
|
+
var _require = {
|
|
374891
|
+
"name": "eslint-plugin-jsx-a11y",
|
|
374892
|
+
"version": "6.10.2",
|
|
374893
|
+
"description": "Static AST checker for accessibility rules on JSX elements.",
|
|
374894
|
+
"keywords": [
|
|
374895
|
+
"eslint",
|
|
374896
|
+
"eslintplugin",
|
|
374897
|
+
"eslint-plugin",
|
|
374898
|
+
"a11y",
|
|
374899
|
+
"accessibility",
|
|
374900
|
+
"jsx"
|
|
374901
|
+
],
|
|
374902
|
+
"author": "Ethan Cohen",
|
|
374903
|
+
"repository": {
|
|
374904
|
+
"type": "git",
|
|
374905
|
+
"url": "https://github.com/jsx-eslint/eslint-plugin-jsx-a11y"
|
|
374906
|
+
},
|
|
374907
|
+
"main": "lib/index.js",
|
|
374908
|
+
"scripts": {
|
|
374909
|
+
"prepack": "npmignore --auto --commentLines=autogenerated && npm run build",
|
|
374910
|
+
"build": "rimraf lib && babel src --out-dir lib --copy-files",
|
|
374911
|
+
"create": "node ./scripts/create-rule",
|
|
374912
|
+
"flow": "flow",
|
|
374913
|
+
"lint:fix": "npm run lint -- --fix",
|
|
374914
|
+
"lint": "npx eslint@8 --ext=js,mjs,cjs,ts,tsx .",
|
|
374915
|
+
"prepublish": "not-in-publish || npm run prepublishOnly",
|
|
374916
|
+
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run tests-only",
|
|
374917
|
+
"pretest": "npm run lint:fix && npm run flow",
|
|
374918
|
+
"test": "npm run tests-only",
|
|
374919
|
+
"tests-only": "tape --require=@babel/register '__tests__/**/*.js'",
|
|
374920
|
+
"posttest": "npx npm@'>=10.2' audit --production",
|
|
374921
|
+
"pretest:examples": "npm run build",
|
|
374922
|
+
"test:examples": "npm run test-example:legacy && npm run test-example:flat-esm && npm run test-example:flat-cjs",
|
|
374923
|
+
"test-example:legacy": "cd examples/legacy && npm install && npm run lint",
|
|
374924
|
+
"test-example:flat-esm": "cd examples/flat-esm && npm install && npm run lint",
|
|
374925
|
+
"test-example:flat-cjs": "cd examples/flat-cjs && npm install && npm run lint",
|
|
374926
|
+
"pregenerate-list-of-rules": "npm run build",
|
|
374927
|
+
"generate-list-of-rules": "eslint-doc-generator --rule-doc-title-format prefix-name --rule-doc-section-options false --config-emoji recommended,☑️ --ignore-config flat/recommended --ignore-config flat/strict",
|
|
374928
|
+
"generate-list-of-rules:check": "npm run generate-list-of-rules -- --check",
|
|
374929
|
+
"version": "auto-changelog && git add CHANGELOG.md",
|
|
374930
|
+
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
|
|
374931
|
+
},
|
|
374932
|
+
"devDependencies": {
|
|
374933
|
+
"@babel/cli": "^7.25.9",
|
|
374934
|
+
"@babel/core": "^7.26.0",
|
|
374935
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
374936
|
+
"@babel/plugin-transform-flow-strip-types": "^7.25.9",
|
|
374937
|
+
"@babel/register": "^7.25.9",
|
|
374938
|
+
"auto-changelog": "^2.5.0",
|
|
374939
|
+
"babel-plugin-add-module-exports": "^1.0.4",
|
|
374940
|
+
"babel-preset-airbnb": "^5.0.0",
|
|
374941
|
+
"eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9",
|
|
374942
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
374943
|
+
"eslint-doc-generator": "^1.7.1",
|
|
374944
|
+
"eslint-plugin-eslint-plugin": "^4.3.0",
|
|
374945
|
+
"eslint-plugin-flowtype": "^5.8.0 || ^8.0.3",
|
|
374946
|
+
"eslint-plugin-import": "^2.31.0",
|
|
374947
|
+
"estraverse": "^5.3.0",
|
|
374948
|
+
"flow-bin": "^0.147.0",
|
|
374949
|
+
"in-publish": "^2.0.1",
|
|
374950
|
+
"jackspeak": "=2.1.1",
|
|
374951
|
+
"jscodeshift": "^17.0.0",
|
|
374952
|
+
"minimist": "^1.2.8",
|
|
374953
|
+
"npmignore": "^0.3.1",
|
|
374954
|
+
"object.assign": "^4.1.5",
|
|
374955
|
+
"object.entries": "^1.1.8",
|
|
374956
|
+
"rimraf": "^3.0.2",
|
|
374957
|
+
"safe-publish-latest": "^2.0.0",
|
|
374958
|
+
"semver": "^6.3.1",
|
|
374959
|
+
"tape": "^5.9.0",
|
|
374960
|
+
"to-ast": "^1.0.0"
|
|
374961
|
+
},
|
|
374962
|
+
"engines": { "node": ">=4.0" },
|
|
374963
|
+
"license": "MIT",
|
|
374964
|
+
"dependencies": {
|
|
374965
|
+
"aria-query": "^5.3.2",
|
|
374966
|
+
"array-includes": "^3.1.8",
|
|
374967
|
+
"array.prototype.flatmap": "^1.3.2",
|
|
374968
|
+
"ast-types-flow": "^0.0.8",
|
|
374969
|
+
"axe-core": "^4.10.0",
|
|
374970
|
+
"axobject-query": "^4.1.0",
|
|
374971
|
+
"damerau-levenshtein": "^1.0.8",
|
|
374972
|
+
"emoji-regex": "^9.2.2",
|
|
374973
|
+
"hasown": "^2.0.2",
|
|
374974
|
+
"jsx-ast-utils": "^3.3.5",
|
|
374975
|
+
"language-tags": "^1.0.9",
|
|
374976
|
+
"minimatch": "^3.1.2",
|
|
374977
|
+
"object.fromentries": "^2.0.8",
|
|
374978
|
+
"safe-regex-test": "^1.0.3",
|
|
374979
|
+
"string.prototype.includes": "^2.0.1"
|
|
374980
|
+
},
|
|
374981
|
+
"peerDependencies": { "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9" },
|
|
374982
|
+
"auto-changelog": {
|
|
374983
|
+
"output": "CHANGELOG.md",
|
|
374984
|
+
"template": "keepachangelog",
|
|
374985
|
+
"unreleased": false,
|
|
374986
|
+
"commitLimit": false,
|
|
374987
|
+
"backfillLimit": false,
|
|
374988
|
+
"hideCredit": true,
|
|
374989
|
+
"startingVersion": "6.6.2"
|
|
374990
|
+
},
|
|
374991
|
+
"publishConfig": { "ignore": [
|
|
374992
|
+
"!lib",
|
|
374993
|
+
".github/workflows",
|
|
374994
|
+
".flowconfig",
|
|
374995
|
+
"/src",
|
|
374996
|
+
"/reports",
|
|
374997
|
+
"/flow",
|
|
374998
|
+
"scripts/",
|
|
374999
|
+
"CONTRIBUTING.md",
|
|
375000
|
+
"/examples"
|
|
375001
|
+
] }
|
|
375002
|
+
}, name = _require.name, version = _require.version;
|
|
374952
375003
|
var allRules = {
|
|
374953
375004
|
"accessible-emoji": require_accessible_emoji(),
|
|
374954
375005
|
"alt-text": require_alt_text(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@croct/eslint-plugin",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "ESLint rules and presets applied to all Croct JavaScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -49,7 +49,8 @@
|
|
|
49
49
|
"eslint-plugin-self": "^1.2.1",
|
|
50
50
|
"eslint-plugin-testing-library": "^7.16.2",
|
|
51
51
|
"globals": "^17.6.0",
|
|
52
|
-
"typescript-eslint": "^8.59.4"
|
|
52
|
+
"typescript-eslint": "^8.59.4",
|
|
53
|
+
"unrs-resolver": "^1.12.2"
|
|
53
54
|
},
|
|
54
55
|
"devDependencies": {
|
|
55
56
|
"@types/jest": "^30.0.0",
|