You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
3.9 KiB

{
"_from": "eslint-plugin-unicorn@^20.0.0",
"_id": "eslint-plugin-unicorn@20.1.0",
"_inBundle": false,
"_integrity": "sha1-pD9g/8mEBtcuwqX8xtrSS6AZK8k=",
"_location": "/eslint-plugin-unicorn",
"_phantomChildren": {
"@babel/code-frame": "7.10.4",
"@types/normalize-package-data": "2.4.0",
"error-ex": "1.3.2",
"json-parse-better-errors": "1.0.2",
"lines-and-columns": "1.1.6",
"normalize-package-data": "2.5.0",
"p-limit": "2.3.0",
"regexp-tree": "0.1.21"
},
"_requested": {
"type": "range",
"registry": true,
"raw": "eslint-plugin-unicorn@^20.0.0",
"name": "eslint-plugin-unicorn",
"escapedName": "eslint-plugin-unicorn",
"rawSpec": "^20.0.0",
"saveSpec": null,
"fetchSpec": "^20.0.0"
},
"_requiredBy": [
"/@umijs/fabric"
],
"_resolved": "https://registry.npm.taobao.org/eslint-plugin-unicorn/download/eslint-plugin-unicorn-20.1.0.tgz",
"_shasum": "a43f60ffc98406d72ec2a5fcc6dad24ba0192bc9",
"_spec": "eslint-plugin-unicorn@^20.0.0",
"_where": "/Users/zq/Desktop/hngs/node_modules/@umijs/fabric",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"ava": {
"babel": true,
"files": [
"test/*.js"
]
},
"bugs": {
"url": "https://github.com/sindresorhus/eslint-plugin-unicorn/issues"
},
"bundleDependencies": false,
"dependencies": {
"ci-info": "^2.0.0",
"clean-regexp": "^1.0.0",
"eslint-ast-utils": "^1.1.0",
"eslint-template-visitor": "^2.0.0",
"eslint-utils": "^2.0.0",
"import-modules": "^2.0.0",
"lodash": "^4.17.15",
"pluralize": "^8.0.0",
"read-pkg-up": "^7.0.1",
"regexp-tree": "^0.1.21",
"reserved-words": "^0.1.2",
"safe-regex": "^2.1.1",
"semver": "^7.3.2"
},
"deprecated": false,
"description": "Various awesome ESLint rules",
"devDependencies": {
"@ava/babel": "^1.0.1",
"@lubien/fixture-beta-package": "^1.0.0-beta.1",
"@typescript-eslint/parser": "^2.33.0",
"ava": "^3.8.2",
"babel-eslint": "^10.1.0",
"chalk": "^4.0.0",
"eslint": "^7.0.0",
"eslint-ava-rule-tester": "^4.0.0",
"eslint-plugin-eslint-plugin": "^2.2.1",
"execa": "^4.0.1",
"listr": "^0.14.3",
"nyc": "^15.0.1",
"outdent": "^0.7.1",
"pify": "^5.0.0",
"typescript": "^3.9.2",
"vue-eslint-parser": "^7.0.0",
"xo": "^0.30.0"
},
"engines": {
"node": ">=10"
},
"files": [
"index.js",
"rules"
],
"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.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sindresorhus/eslint-plugin-unicorn.git"
},
"scripts": {
"integration": "node ./test/integration/test.js",
"lint": "node ./test/lint/lint.js",
"test": "xo && nyc ava"
},
"version": "20.1.0",
"xo": {
"parserOptions": {
"sourceType": "script"
},
"plugins": [
"eslint-plugin"
],
"extends": [
"plugin:eslint-plugin/all"
],
"overrides": [
{
"files": "rules/utils/*.js",
"rules": {
"eslint-plugin/require-meta-docs-url": "off"
}
},
{
"files": "test/*.js",
"parserOptions": {
"sourceType": "module"
}
}
],
"rules": {
"strict": "error",
"array-callback-return": [
"error",
{
"allowImplicit": true
}
],
"unicorn/no-null": "error",
"unicorn/string-content": "off"
}
}
}