eslint-plugin-jest-dom 4.0.3 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/rules/prefer-to-have-class.js +0 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -180,7 +180,7 @@ MIT
|
|
|
180
180
|
<!-- prettier-ignore-start -->
|
|
181
181
|
[npm]: https://www.npmjs.com
|
|
182
182
|
[node]: https://nodejs.org
|
|
183
|
-
[build-badge]: https://img.shields.io/github/workflow/status/testing-library/eslint-plugin-jest-dom/validate?logo=github&style=flat-square
|
|
183
|
+
[build-badge]: https://img.shields.io/github/actions/workflow/status/testing-library/eslint-plugin-jest-dom/validate.yml?logo=github&style=flat-square
|
|
184
184
|
[build]: https://github.com/testing-library/eslint-plugin-jest-dom/actions?query=workflow%3Avalidate
|
|
185
185
|
[coverage-badge]: https://img.shields.io/codecov/c/github/testing-library/eslint-plugin-jest-dom.svg?style=flat-square
|
|
186
186
|
[coverage]: https://codecov.io/github/testing-library/eslint-plugin-jest-dom
|
|
@@ -196,6 +196,7 @@ MIT
|
|
|
196
196
|
[coc]: https://github.com/testing-library/eslint-plugin-jest-dom/blob/main/other/CODE_OF_CONDUCT.md
|
|
197
197
|
[emojis]: https://github.com/all-contributors/all-contributors#emoji-key
|
|
198
198
|
[all-contributors]: https://github.com/all-contributors/all-contributors
|
|
199
|
+
[all-contributors-badge]: https://img.shields.io/github/all-contributors/testing-library/eslint-plugin-jest-dom?style=flat-square
|
|
199
200
|
[bugs]: https://github.com/testing-library/eslint-plugin-jest-dom/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Acreated-desc+label%3Abug
|
|
200
201
|
[requests]: https://github.com/testing-library/eslint-plugin-jest-dom/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement
|
|
201
202
|
[good-first-issue]: https://github.com/testing-library/eslint-plugin-jest-dom/issues?utf8=%E2%9C%93&q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc+label%3Aenhancement+label%3A%22good+first+issue%22
|
|
@@ -13,7 +13,6 @@ var _assignmentAst = require("../assignment-ast");
|
|
|
13
13
|
//------------------------------------------------------------------------------
|
|
14
14
|
// Rule Definition
|
|
15
15
|
//------------------------------------------------------------------------------
|
|
16
|
-
|
|
17
16
|
const messageId = "use-to-have-class";
|
|
18
17
|
const meta = {
|
|
19
18
|
docs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-jest-dom",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "ESLint plugin to follow best practices and anticipate common mistakes when writing tests with jest-dom",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"keywords": [
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime": "^7.16.3",
|
|
45
|
-
"@testing-library/dom": "^8.11.1",
|
|
46
45
|
"requireindex": "^1.2.0"
|
|
47
46
|
},
|
|
48
47
|
"devDependencies": {
|
|
49
48
|
"@typescript-eslint/parser": "^5.9.1",
|
|
50
49
|
"eslint": "^8.7.0",
|
|
51
|
-
"eslint-doc-generator": "^0.
|
|
50
|
+
"eslint-doc-generator": "^1.0.0",
|
|
52
51
|
"eslint-remote-tester": "^3.0.0",
|
|
53
|
-
"eslint-remote-tester-repositories": "^
|
|
52
|
+
"eslint-remote-tester-repositories": "^1.0.1",
|
|
54
53
|
"kcd-scripts": "^12.0.0",
|
|
55
54
|
"typescript": "^4.5.3"
|
|
56
55
|
},
|
|
57
56
|
"peerDependencies": {
|
|
58
|
-
"eslint": "^6.8.0 || ^7.0.0 || ^8.0.0"
|
|
57
|
+
"eslint": "^6.8.0 || ^7.0.0 || ^8.0.0",
|
|
58
|
+
"@testing-library/dom": "^8.0.0 || ^9.0.0"
|
|
59
59
|
},
|
|
60
60
|
"eslintConfig": {
|
|
61
61
|
"extends": "./node_modules/kcd-scripts/eslint.js",
|