128 lines
3.5 KiB
JSON
128 lines
3.5 KiB
JSON
{
|
|
"name": "eslint-plugin-unicorn",
|
|
"version": "62.0.0",
|
|
"description": "More than 100 powerful ESLint rules",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/eslint-plugin-unicorn",
|
|
"funding": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": "^20.10.0 || >=21.0.0"
|
|
},
|
|
"scripts": {
|
|
"create-rule": "node ./scripts/create-rule.js && npm run create-rules-index-file && npm run fix:eslint-docs",
|
|
"create-rules-index-file": "node ./scripts/create-rules-index-file.js",
|
|
"fix": "run-p --continue-on-error \"fix:*\"",
|
|
"fix:eslint-docs": "eslint-doc-generator",
|
|
"fix:js": "npm run lint:js -- --fix",
|
|
"fix:markdown": "npm run lint:markdown -- --fix",
|
|
"fix:snapshots": "ava --update-snapshots",
|
|
"integration": "node ./test/integration/test.js",
|
|
"lint": "run-p --continue-on-error \"lint:*\"",
|
|
"lint:eslint-docs": "npm run fix:eslint-docs -- --check",
|
|
"lint:js": "eslint",
|
|
"lint:markdown": "markdownlint \"**/*.md\"",
|
|
"lint:package-json": "npmPkgJsonLint .",
|
|
"rename-rule": "node ./scripts/rename-rule.js && npm run create-rules-index-file && npm run fix:eslint-docs",
|
|
"run-rules-on-codebase": "eslint --config=./eslint.dogfooding.config.js",
|
|
"smoke": "eslint-remote-tester --config ./test/smoke/eslint-remote-tester.config.js",
|
|
"test": "npm-run-all --continue-on-error lint \"test:*\"",
|
|
"test:js": "c8 ava"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts",
|
|
"rules",
|
|
"configs"
|
|
],
|
|
"keywords": [
|
|
"eslint",
|
|
"eslintplugin",
|
|
"eslint-plugin",
|
|
"unicorn",
|
|
"linter",
|
|
"lint",
|
|
"style",
|
|
"xo"
|
|
],
|
|
"dependencies": {
|
|
"@babel/helper-validator-identifier": "^7.28.5",
|
|
"@eslint-community/eslint-utils": "^4.9.0",
|
|
"@eslint/plugin-kit": "^0.4.0",
|
|
"change-case": "^5.4.4",
|
|
"ci-info": "^4.3.1",
|
|
"clean-regexp": "^1.0.0",
|
|
"core-js-compat": "^3.46.0",
|
|
"esquery": "^1.6.0",
|
|
"find-up-simple": "^1.0.1",
|
|
"globals": "^16.4.0",
|
|
"indent-string": "^5.0.0",
|
|
"is-builtin-module": "^5.0.0",
|
|
"jsesc": "^3.1.0",
|
|
"pluralize": "^8.0.0",
|
|
"regexp-tree": "^0.1.27",
|
|
"regjsparser": "^0.13.0",
|
|
"semver": "^7.7.3",
|
|
"strip-indent": "^4.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/code-frame": "^7.27.1",
|
|
"@babel/core": "^7.28.5",
|
|
"@babel/eslint-parser": "^7.28.5",
|
|
"@eslint/eslintrc": "^3.3.1",
|
|
"@lubien/fixture-beta-package": "^1.0.0-beta.1",
|
|
"@typescript-eslint/parser": "^8.46.2",
|
|
"@typescript-eslint/types": "^8.46.2",
|
|
"ava": "^6.4.1",
|
|
"c8": "^10.1.3",
|
|
"enquirer": "^2.4.1",
|
|
"eslint": "^9.38.0",
|
|
"eslint-ava-rule-tester": "^5.0.1",
|
|
"eslint-config-xo": "^0.49.0",
|
|
"eslint-doc-generator": "^2.3.0",
|
|
"eslint-plugin-eslint-plugin": "^7.1.0",
|
|
"eslint-plugin-jsdoc": "^61.1.6",
|
|
"eslint-plugin-unicorn": "^61.0.2",
|
|
"eslint-remote-tester": "^4.0.3",
|
|
"eslint-remote-tester-repositories": "^2.0.2",
|
|
"espree": "^10.4.0",
|
|
"listr2": "^9.0.5",
|
|
"lodash-es": "^4.17.21",
|
|
"markdownlint-cli": "^0.45.0",
|
|
"nano-spawn": "^2.0.0",
|
|
"node-style-text": "^2.1.2",
|
|
"npm-package-json-lint": "^9.0.0",
|
|
"npm-run-all2": "^8.0.4",
|
|
"open-editor": "^5.1.0",
|
|
"outdent": "^0.8.0",
|
|
"pretty-ms": "^9.3.0",
|
|
"typescript": "^5.9.3",
|
|
"vue-eslint-parser": "^10.2.0",
|
|
"yaml": "^2.8.1"
|
|
},
|
|
"peerDependencies": {
|
|
"eslint": ">=9.38.0"
|
|
},
|
|
"ava": {
|
|
"files": [
|
|
"test/*.js",
|
|
"test/unit/*.js"
|
|
]
|
|
},
|
|
"c8": {
|
|
"reporter": [
|
|
"text",
|
|
"lcov"
|
|
]
|
|
}
|
|
}
|