UNPKG

2.63 kBJSONView Raw
1{
2 "name": "eslint-plugin-ava",
3 "version": "15.0.1",
4 "description": "ESLint rules for AVA",
5 "license": "MIT",
6 "repository": "avajs/eslint-plugin-ava",
7 "sideEffects": false,
8 "engines": {
9 "node": "^18.18 || >=20"
10 },
11 "scripts": {
12 "integration": "node ./test/integration/test.js",
13 "lint": "npm-run-all \"lint:*\"",
14 "lint:eslint-docs": "npm-run-all \"update:eslint-docs -- --check\"",
15 "lint:js": "xo",
16 "test": "npm-run-all lint test:unit",
17 "test:unit": "c8 ava",
18 "update:eslint-docs": "eslint-doc-generator --rule-doc-section-include Pass --rule-doc-section-include Fail --url-configs \"https://github.com/avajs/eslint-plugin-ava#recommended-config\" --ignore-config=flat/recommended"
19 },
20 "files": [
21 "index.js",
22 "create-ava-rule.js",
23 "util.js",
24 "rules"
25 ],
26 "keywords": [
27 "eslint",
28 "eslintplugin",
29 "eslint-plugin",
30 "ava",
31 "test",
32 "runner",
33 "assert",
34 "asserts",
35 "assertion",
36 "mocha"
37 ],
38 "dependencies": {
39 "enhance-visitors": "^1.0.0",
40 "eslint-utils": "^3.0.0",
41 "espree": "^9.0.0",
42 "espurify": "^2.1.1",
43 "import-modules": "^2.1.0",
44 "micro-spelling-correcter": "^1.1.1",
45 "pkg-dir": "^5.0.0",
46 "resolve-from": "^5.0.0"
47 },
48 "devDependencies": {
49 "@typescript-eslint/parser": "^5.9.0",
50 "ava": "^3.15.0",
51 "c8": "^7.7.3",
52 "chalk": "^4.1.1",
53 "del": "^6.0.0",
54 "eslint": "^8.26.0",
55 "eslint-ava-rule-tester": "^4.0.0",
56 "eslint-doc-generator": "^1.0.0",
57 "eslint-plugin-eslint-plugin": "^6.1.0",
58 "execa": "^5.1.1",
59 "listr": "^0.14.3",
60 "npm-run-all": "^4.1.5",
61 "outdent": "^0.8.0",
62 "pify": "^5.0.0",
63 "tempy": "^1.0.1",
64 "xo": "^0.58.0"
65 },
66 "peerDependencies": {
67 "eslint": ">=9"
68 },
69 "ava": {
70 "files": [
71 "!rules",
72 "test/*.js"
73 ]
74 },
75 "xo": {
76 "plugins": [
77 "eslint-plugin"
78 ],
79 "parserOptions": {
80 "sourceType": "script"
81 },
82 "extends": [
83 "plugin:eslint-plugin/all"
84 ],
85 "overrides": [
86 {
87 "files": "create-ava-rule.js",
88 "rules": {
89 "eslint-plugin/require-meta-docs-url": "off"
90 }
91 }
92 ],
93 "rules": {
94 "strict": "error",
95 "ava/no-ignored-test-files": "off",
96 "eslint-plugin/prefer-message-ids": "off",
97 "eslint-plugin/require-meta-docs-description": [
98 "error",
99 {
100 "pattern": "^(Enforce|Ensure|Require|Disallow|Prevent|Prefer)"
101 }
102 ],
103 "eslint-plugin/require-meta-has-suggestions": "off",
104 "eslint-plugin/prefer-placeholders": "off",
105 "import/extensions": "off",
106 "unicorn/prefer-module": "off",
107 "unicorn/prefer-top-level-await": "off",
108 "eslint-plugin/require-meta-docs-recommended": "off"
109 }
110 },
111 "c8": {
112 "reporter": [
113 "html",
114 "lcov",
115 "text"
116 ]
117 }
118}