Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-jest-dom

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-jest-dom - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

2

lib/rules/prefer-to-have-attribute.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc