eslint-plugin-jest-dom
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -16,3 +16,3 @@ /** | ||
'prefer toHaveAttribute over checking getAttribute/hasAttribute ', | ||
recommended: false, | ||
recommended: true, | ||
}, | ||
@@ -19,0 +19,0 @@ fixable: 'code', |
{ | ||
"name": "eslint-plugin-jest-dom", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "lint rules for use with jest-dom", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -37,3 +37,8 @@ # eslint-plugin-jest-dom | ||
{ | ||
"rules": {} | ||
"rules": { | ||
"jest-dom/prefer-required": "error", | ||
"jest-dom/prefer-enabled-disabled": "error", | ||
"jest-dom/prefer-checked": "error", | ||
"jest-dom/prefer-to-have-attribute": "error", | ||
} | ||
} | ||
@@ -69,3 +74,3 @@ ``` | ||
[prefer-required](https://github.com/testing-library/eslint-plugin-jest-dom/blob/master/docs/rules/prefer-required.md) | ✔️ | 🛠 | prefer toBeRequired over checking properties | ||
[prefer-to-have-attribute](https://github.com/testing-library/eslint-plugin-jest-dom/blob/master/docs/rules/prefer-to-have-attribute.md) | | 🛠 | prefer toHaveAttribute over checking getAttribute/hasAttribute | ||
[prefer-to-have-attribute](https://github.com/testing-library/eslint-plugin-jest-dom/blob/master/docs/rules/prefer-to-have-attribute.md) | ✔️ | 🛠 | prefer toHaveAttribute over checking getAttribute/hasAttribute | ||
<!-- __END AUTOGENERATED TABLE__ --> | ||
@@ -72,0 +77,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43947
93