123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186 |
- {
- "_from": "eslint-plugin-unicorn@^39.0.0",
- "_id": "eslint-plugin-unicorn@39.0.0",
- "_inBundle": false,
- "_integrity": "sha512-fd5RK2FtYjGcIx3wra7csIE/wkkmBo22T1gZtRTsLr1Mb+KsFKJ+JOdSqhHXQUrI/JTs/Mon64cEYzTgSCbltw==",
- "_location": "/eslint-plugin-unicorn",
- "_phantomChildren": {
- "lru-cache": "6.0.0",
- "regexp-tree": "0.1.24"
- },
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "eslint-plugin-unicorn@^39.0.0",
- "name": "eslint-plugin-unicorn",
- "escapedName": "eslint-plugin-unicorn",
- "rawSpec": "^39.0.0",
- "saveSpec": null,
- "fetchSpec": "^39.0.0"
- },
- "_requiredBy": [
- "/@nuxtjs/eslint-config"
- ],
- "_resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-39.0.0.tgz",
- "_shasum": "ee76d4f3bf37c605d89fa449d5e7c0c44c54b0cc",
- "_spec": "eslint-plugin-unicorn@^39.0.0",
- "_where": "H:\\gs_nuxt\\node_modules\\@nuxtjs\\eslint-config",
- "author": {
- "name": "Sindre Sorhus",
- "email": "sindresorhus@gmail.com",
- "url": "https://sindresorhus.com"
- },
- "ava": {
- "files": [
- "test/*.mjs",
- "test/unit/*.mjs"
- ]
- },
- "bugs": {
- "url": "https://github.com/sindresorhus/eslint-plugin-unicorn/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "@babel/helper-validator-identifier": "^7.14.9",
- "ci-info": "^3.2.0",
- "clean-regexp": "^1.0.0",
- "eslint-template-visitor": "^2.3.2",
- "eslint-utils": "^3.0.0",
- "esquery": "^1.4.0",
- "indent-string": "4",
- "is-builtin-module": "^3.1.0",
- "lodash": "^4.17.21",
- "pluralize": "^8.0.0",
- "read-pkg-up": "^7.0.1",
- "regexp-tree": "^0.1.23",
- "safe-regex": "^2.1.1",
- "semver": "^7.3.5",
- "strip-indent": "^3.0.0"
- },
- "deprecated": false,
- "description": "Various awesome ESLint rules",
- "devDependencies": {
- "@babel/code-frame": "^7.14.5",
- "@babel/core": "^7.15.5",
- "@babel/eslint-parser": "^7.16.0",
- "@lubien/fixture-beta-package": "^1.0.0-beta.1",
- "@typescript-eslint/parser": "^5.2.0",
- "ava": "^3.15.0",
- "chalk": "^4.1.2",
- "enquirer": "2.3.6",
- "eslint": "^8.0.0",
- "eslint-ava-rule-tester": "^4.0.0",
- "eslint-plugin-eslint-plugin": "^4.0.2",
- "eslint-remote-tester": "^2.0.1",
- "eslint-remote-tester-repositories": "^0.0.3",
- "execa": "^5.1.1",
- "listr": "^0.14.3",
- "lodash-es": "4.17.21",
- "markdownlint-cli": "^0.29.0",
- "mem": "^9.0.1",
- "npm-run-all": "^4.1.5",
- "nyc": "^15.1.0",
- "outdent": "^0.8.0",
- "typescript": "^4.4.2",
- "vue-eslint-parser": "^8.0.0",
- "xo": "^0.46.3"
- },
- "engines": {
- "node": ">=12"
- },
- "files": [
- "index.js",
- "rules",
- "configs"
- ],
- "funding": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1",
- "homepage": "https://github.com/sindresorhus/eslint-plugin-unicorn#readme",
- "keywords": [
- "eslint",
- "eslintplugin",
- "eslint-plugin",
- "unicorn",
- "linter",
- "lint",
- "style",
- "xo"
- ],
- "license": "MIT",
- "name": "eslint-plugin-unicorn",
- "nyc": {
- "reporter": [
- "text",
- "lcov"
- ]
- },
- "peerDependencies": {
- "eslint": ">=7.32.0"
- },
- "repository": {
- "type": "git",
- "url": "git+https://github.com/sindresorhus/eslint-plugin-unicorn.git"
- },
- "scripts": {
- "create-rule": "node ./scripts/create-rule.mjs && npm run generate-rules-table && npm run generate-usage-example",
- "fix": "run-p --continue-on-error fix:*",
- "fix:js": "npm run lint:js -- --fix",
- "fix:md": "npm run lint:md -- --fix",
- "generate-rules-table": "node ./scripts/generate-rules-table.mjs",
- "generate-usage-example": "node ./scripts/generate-usage-example.mjs",
- "integration": "node ./test/integration/test.mjs",
- "lint": "run-p --continue-on-error lint:*",
- "lint:js": "xo",
- "lint:md": "markdownlint \"**/*.md\"",
- "run-rules-on-codebase": "node ./test/run-rules-on-codebase/lint.mjs",
- "smoke": "eslint-remote-tester --config ./test/smoke/eslint-remote-tester.config.js",
- "test": "npm-run-all --continue-on-error lint test:*",
- "test:js": "nyc ava"
- },
- "version": "39.0.0",
- "xo": {
- "ignores": [
- ".cache-eslint-remote-tester",
- "eslint-remote-tester-results",
- "test/integration/{fixtures,fixtures-local}/**"
- ],
- "rules": {
- "unicorn/no-null": "error"
- },
- "overrides": [
- {
- "files": [
- "**/*.js"
- ],
- "parserOptions": {
- "sourceType": "script"
- },
- "rules": {
- "strict": "error",
- "unicorn/prefer-module": "off"
- }
- },
- {
- "files": [
- "rules/*.js"
- ],
- "plugins": [
- "eslint-plugin"
- ],
- "extends": [
- "plugin:eslint-plugin/all"
- ],
- "rules": {
- "eslint-plugin/require-meta-docs-description": [
- "error",
- {
- "pattern": ".+"
- }
- ],
- "eslint-plugin/require-meta-docs-url": "off",
- "eslint-plugin/require-meta-has-suggestions": "off",
- "eslint-plugin/require-meta-schema": "off"
- }
- }
- ]
- }
- }
|