package.json 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "_from": "eslint-plugin-unicorn@^39.0.0",
  3. "_id": "eslint-plugin-unicorn@39.0.0",
  4. "_inBundle": false,
  5. "_integrity": "sha512-fd5RK2FtYjGcIx3wra7csIE/wkkmBo22T1gZtRTsLr1Mb+KsFKJ+JOdSqhHXQUrI/JTs/Mon64cEYzTgSCbltw==",
  6. "_location": "/eslint-plugin-unicorn",
  7. "_phantomChildren": {
  8. "lru-cache": "6.0.0",
  9. "regexp-tree": "0.1.24"
  10. },
  11. "_requested": {
  12. "type": "range",
  13. "registry": true,
  14. "raw": "eslint-plugin-unicorn@^39.0.0",
  15. "name": "eslint-plugin-unicorn",
  16. "escapedName": "eslint-plugin-unicorn",
  17. "rawSpec": "^39.0.0",
  18. "saveSpec": null,
  19. "fetchSpec": "^39.0.0"
  20. },
  21. "_requiredBy": [
  22. "/@nuxtjs/eslint-config"
  23. ],
  24. "_resolved": "https://registry.npmjs.org/eslint-plugin-unicorn/-/eslint-plugin-unicorn-39.0.0.tgz",
  25. "_shasum": "ee76d4f3bf37c605d89fa449d5e7c0c44c54b0cc",
  26. "_spec": "eslint-plugin-unicorn@^39.0.0",
  27. "_where": "H:\\gs_nuxt\\node_modules\\@nuxtjs\\eslint-config",
  28. "author": {
  29. "name": "Sindre Sorhus",
  30. "email": "sindresorhus@gmail.com",
  31. "url": "https://sindresorhus.com"
  32. },
  33. "ava": {
  34. "files": [
  35. "test/*.mjs",
  36. "test/unit/*.mjs"
  37. ]
  38. },
  39. "bugs": {
  40. "url": "https://github.com/sindresorhus/eslint-plugin-unicorn/issues"
  41. },
  42. "bundleDependencies": false,
  43. "dependencies": {
  44. "@babel/helper-validator-identifier": "^7.14.9",
  45. "ci-info": "^3.2.0",
  46. "clean-regexp": "^1.0.0",
  47. "eslint-template-visitor": "^2.3.2",
  48. "eslint-utils": "^3.0.0",
  49. "esquery": "^1.4.0",
  50. "indent-string": "4",
  51. "is-builtin-module": "^3.1.0",
  52. "lodash": "^4.17.21",
  53. "pluralize": "^8.0.0",
  54. "read-pkg-up": "^7.0.1",
  55. "regexp-tree": "^0.1.23",
  56. "safe-regex": "^2.1.1",
  57. "semver": "^7.3.5",
  58. "strip-indent": "^3.0.0"
  59. },
  60. "deprecated": false,
  61. "description": "Various awesome ESLint rules",
  62. "devDependencies": {
  63. "@babel/code-frame": "^7.14.5",
  64. "@babel/core": "^7.15.5",
  65. "@babel/eslint-parser": "^7.16.0",
  66. "@lubien/fixture-beta-package": "^1.0.0-beta.1",
  67. "@typescript-eslint/parser": "^5.2.0",
  68. "ava": "^3.15.0",
  69. "chalk": "^4.1.2",
  70. "enquirer": "2.3.6",
  71. "eslint": "^8.0.0",
  72. "eslint-ava-rule-tester": "^4.0.0",
  73. "eslint-plugin-eslint-plugin": "^4.0.2",
  74. "eslint-remote-tester": "^2.0.1",
  75. "eslint-remote-tester-repositories": "^0.0.3",
  76. "execa": "^5.1.1",
  77. "listr": "^0.14.3",
  78. "lodash-es": "4.17.21",
  79. "markdownlint-cli": "^0.29.0",
  80. "mem": "^9.0.1",
  81. "npm-run-all": "^4.1.5",
  82. "nyc": "^15.1.0",
  83. "outdent": "^0.8.0",
  84. "typescript": "^4.4.2",
  85. "vue-eslint-parser": "^8.0.0",
  86. "xo": "^0.46.3"
  87. },
  88. "engines": {
  89. "node": ">=12"
  90. },
  91. "files": [
  92. "index.js",
  93. "rules",
  94. "configs"
  95. ],
  96. "funding": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1",
  97. "homepage": "https://github.com/sindresorhus/eslint-plugin-unicorn#readme",
  98. "keywords": [
  99. "eslint",
  100. "eslintplugin",
  101. "eslint-plugin",
  102. "unicorn",
  103. "linter",
  104. "lint",
  105. "style",
  106. "xo"
  107. ],
  108. "license": "MIT",
  109. "name": "eslint-plugin-unicorn",
  110. "nyc": {
  111. "reporter": [
  112. "text",
  113. "lcov"
  114. ]
  115. },
  116. "peerDependencies": {
  117. "eslint": ">=7.32.0"
  118. },
  119. "repository": {
  120. "type": "git",
  121. "url": "git+https://github.com/sindresorhus/eslint-plugin-unicorn.git"
  122. },
  123. "scripts": {
  124. "create-rule": "node ./scripts/create-rule.mjs && npm run generate-rules-table && npm run generate-usage-example",
  125. "fix": "run-p --continue-on-error fix:*",
  126. "fix:js": "npm run lint:js -- --fix",
  127. "fix:md": "npm run lint:md -- --fix",
  128. "generate-rules-table": "node ./scripts/generate-rules-table.mjs",
  129. "generate-usage-example": "node ./scripts/generate-usage-example.mjs",
  130. "integration": "node ./test/integration/test.mjs",
  131. "lint": "run-p --continue-on-error lint:*",
  132. "lint:js": "xo",
  133. "lint:md": "markdownlint \"**/*.md\"",
  134. "run-rules-on-codebase": "node ./test/run-rules-on-codebase/lint.mjs",
  135. "smoke": "eslint-remote-tester --config ./test/smoke/eslint-remote-tester.config.js",
  136. "test": "npm-run-all --continue-on-error lint test:*",
  137. "test:js": "nyc ava"
  138. },
  139. "version": "39.0.0",
  140. "xo": {
  141. "ignores": [
  142. ".cache-eslint-remote-tester",
  143. "eslint-remote-tester-results",
  144. "test/integration/{fixtures,fixtures-local}/**"
  145. ],
  146. "rules": {
  147. "unicorn/no-null": "error"
  148. },
  149. "overrides": [
  150. {
  151. "files": [
  152. "**/*.js"
  153. ],
  154. "parserOptions": {
  155. "sourceType": "script"
  156. },
  157. "rules": {
  158. "strict": "error",
  159. "unicorn/prefer-module": "off"
  160. }
  161. },
  162. {
  163. "files": [
  164. "rules/*.js"
  165. ],
  166. "plugins": [
  167. "eslint-plugin"
  168. ],
  169. "extends": [
  170. "plugin:eslint-plugin/all"
  171. ],
  172. "rules": {
  173. "eslint-plugin/require-meta-docs-description": [
  174. "error",
  175. {
  176. "pattern": ".+"
  177. }
  178. ],
  179. "eslint-plugin/require-meta-docs-url": "off",
  180. "eslint-plugin/require-meta-has-suggestions": "off",
  181. "eslint-plugin/require-meta-schema": "off"
  182. }
  183. }
  184. ]
  185. }
  186. }