Socket
Socket
Sign inDemoInstall

eslint-plugin-testing-library

Package Overview
Dependencies
Maintainers
3
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-testing-library - npm Package Compare versions

Comparing version 6.0.0-alpha.2 to 6.0.0-alpha.3

1

configs/react.js

@@ -11,2 +11,3 @@ "use strict";

'testing-library/no-dom-import': ['error', 'react'],
'testing-library/no-manual-cleanup': 'error',
'testing-library/no-node-access': 'error',

@@ -13,0 +14,0 @@ 'testing-library/no-promise-in-fire-event': 'error',

@@ -12,2 +12,3 @@ "use strict";

'testing-library/no-dom-import': ['error', 'vue'],
'testing-library/no-manual-cleanup': 'error',
'testing-library/no-node-access': 'error',

@@ -14,0 +15,0 @@ 'testing-library/no-promise-in-fire-event': 'error',

2

package.json
{
"name": "eslint-plugin-testing-library",
"version": "6.0.0-alpha.2",
"version": "6.0.0-alpha.3",
"description": "ESLint rules for Testing Library",

@@ -5,0 +5,0 @@ "keywords": [

@@ -219,3 +219,3 @@ <div align="center">

| [`no-global-regexp-flag-in-query`](./docs/rules/no-global-regexp-flag-in-query.md) | Disallow the use of the global RegExp flag (/g) in queries | 🔧 | |
| [`no-manual-cleanup`](./docs/rules/no-manual-cleanup.md) | Disallow the use of `cleanup` | | |
| [`no-manual-cleanup`](./docs/rules/no-manual-cleanup.md) | Disallow the use of `cleanup` | | ![react-badge][] ![vue-badge][] |
| [`no-node-access`](./docs/rules/no-node-access.md) | Disallow direct Node access | | ![angular-badge][] ![react-badge][] ![vue-badge][] ![marko-badge][] |

@@ -222,0 +222,0 @@ | [`no-promise-in-fire-event`](./docs/rules/no-promise-in-fire-event.md) | Disallow the use of promises passed to a `fireEvent` method | | ![dom-badge][] ![angular-badge][] ![react-badge][] ![vue-badge][] ![marko-badge][] |

@@ -18,4 +18,4 @@ "use strict";

angular: false,
react: false,
vue: false,
react: 'error',
vue: 'error',
marko: false,

@@ -22,0 +22,0 @@ },

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