1 | {
|
2 | "name": "eslint-plugin-unicorn",
|
3 | "version": "22.0.0",
|
4 | "description": "Various awesome ESLint rules",
|
5 | "license": "MIT",
|
6 | "repository": "sindresorhus/eslint-plugin-unicorn",
|
7 | "funding": "https://github.com/sindresorhus/eslint-plugin-unicorn?sponsor=1",
|
8 | "author": {
|
9 | "name": "Sindre Sorhus",
|
10 | "email": "sindresorhus@gmail.com",
|
11 | "url": "https://sindresorhus.com"
|
12 | },
|
13 | "engines": {
|
14 | "node": ">=10"
|
15 | },
|
16 | "scripts": {
|
17 | "test": "xo && nyc ava",
|
18 | "lint": "node ./test/lint/lint.js",
|
19 | "integration": "node ./test/integration/test.js"
|
20 | },
|
21 | "files": [
|
22 | "index.js",
|
23 | "rules"
|
24 | ],
|
25 | "keywords": [
|
26 | "eslint",
|
27 | "eslintplugin",
|
28 | "eslint-plugin",
|
29 | "unicorn",
|
30 | "linter",
|
31 | "lint",
|
32 | "style",
|
33 | "xo"
|
34 | ],
|
35 | "dependencies": {
|
36 | "ci-info": "^2.0.0",
|
37 | "clean-regexp": "^1.0.0",
|
38 | "eslint-ast-utils": "^1.1.0",
|
39 | "eslint-template-visitor": "^2.2.1",
|
40 | "eslint-utils": "^2.1.0",
|
41 | "import-modules": "^2.0.0",
|
42 | "lodash": "^4.17.20",
|
43 | "pluralize": "^8.0.0",
|
44 | "read-pkg-up": "^7.0.1",
|
45 | "regexp-tree": "^0.1.21",
|
46 | "reserved-words": "^0.1.2",
|
47 | "safe-regex": "^2.1.1",
|
48 | "semver": "^7.3.2"
|
49 | },
|
50 | "devDependencies": {
|
51 | "@ava/babel": "^1.0.1",
|
52 | "@babel/code-frame": "7.10.4",
|
53 | "@lubien/fixture-beta-package": "^1.0.0-beta.1",
|
54 | "@typescript-eslint/parser": "^4.1.0",
|
55 | "ava": "^3.12.1",
|
56 | "babel-eslint": "^10.1.0",
|
57 | "chalk": "^4.1.0",
|
58 | "eslint": "^7.8.0",
|
59 | "eslint-ava-rule-tester": "^4.0.0",
|
60 | "eslint-plugin-eslint-plugin": "^2.3.0",
|
61 | "execa": "^4.0.3",
|
62 | "listr": "^0.14.3",
|
63 | "mem": "6.1.1",
|
64 | "nyc": "^15.1.0",
|
65 | "outdent": "^0.7.1",
|
66 | "pify": "^5.0.0",
|
67 | "typescript": "^4.0.2",
|
68 | "vue-eslint-parser": "^7.1.0",
|
69 | "xo": "^0.33.1"
|
70 | },
|
71 | "peerDependencies": {
|
72 | "eslint": ">=7.8.0"
|
73 | },
|
74 | "ava": {
|
75 | "babel": true,
|
76 | "files": [
|
77 | "test/*.js"
|
78 | ]
|
79 | },
|
80 | "nyc": {
|
81 | "reporter": [
|
82 | "text",
|
83 | "lcov"
|
84 | ]
|
85 | },
|
86 | "xo": {
|
87 | "parserOptions": {
|
88 | "sourceType": "script"
|
89 | },
|
90 | "plugins": [
|
91 | "eslint-plugin"
|
92 | ],
|
93 | "extends": [
|
94 | "plugin:eslint-plugin/all"
|
95 | ],
|
96 | "overrides": [
|
97 | {
|
98 | "files": "rules/utils/*.js",
|
99 | "rules": {
|
100 | "eslint-plugin/prefer-object-rule": "off",
|
101 | "eslint-plugin/require-meta-docs-url": "off"
|
102 | }
|
103 | },
|
104 | {
|
105 | "files": "test/*.js",
|
106 | "parserOptions": {
|
107 | "sourceType": "module"
|
108 | }
|
109 | }
|
110 | ],
|
111 | "rules": {
|
112 | "strict": "error",
|
113 | "unicorn/no-null": "error"
|
114 | }
|
115 | }
|
116 | }
|