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

eslint-plugin-testing-library

Package Overview
Dependencies
Maintainers
3
Versions
164
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 5.0.0-alpha.4 to 5.0.0-alpha.5

1

configs/angular.js

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

'testing-library/no-wait-for-multiple-assertions': 'error',
'testing-library/no-wait-for-side-effects': 'error',
'testing-library/prefer-find-by': 'error',

@@ -18,0 +19,0 @@ 'testing-library/prefer-screen-queries': 'error',

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

'testing-library/no-wait-for-multiple-assertions': 'error',
'testing-library/no-wait-for-side-effects': 'error',
'testing-library/prefer-find-by': 'error',

@@ -13,0 +14,0 @@ 'testing-library/prefer-screen-queries': 'error',

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

'testing-library/no-wait-for-multiple-assertions': 'error',
'testing-library/no-wait-for-side-effects': 'error',
'testing-library/prefer-find-by': 'error',

@@ -19,0 +20,0 @@ 'testing-library/prefer-screen-queries': 'error',

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

'testing-library/no-wait-for-multiple-assertions': 'error',
'testing-library/no-wait-for-side-effects': 'error',
'testing-library/prefer-find-by': 'error',

@@ -19,0 +20,0 @@ 'testing-library/prefer-screen-queries': 'error',

22

package.json
{
"name": "eslint-plugin-testing-library",
"version": "5.0.0-alpha.4",
"version": "5.0.0-alpha.5",
"description": "ESLint rules for Testing Library",

@@ -48,6 +48,6 @@ "keywords": [

"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/jest": "^27.0.1",
"@types/node": "^12.20.23",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@types/jest": "^27.0.2",
"@types/node": "^16.10.6",
"@typescript-eslint/eslint-plugin": "^4.30.0",

@@ -67,9 +67,9 @@ "@typescript-eslint/parser": "^4.30.0",

"is-ci": "^3.0.0",
"jest": "^27.1.0",
"lint-staged": "^11.1.2",
"prettier": "2.3.2",
"semantic-release": "^17.4.7",
"jest": "^27.2.5",
"lint-staged": "^11.2.3",
"prettier": "2.4.1",
"semantic-release": "^18.0.0",
"ts-jest": "27.0.5",
"ts-node": "^10.2.1",
"typescript": "^4.4.2"
"ts-node": "^10.3.0",
"typescript": "^4.4.4"
},

@@ -76,0 +76,0 @@ "peerDependencies": {

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

| [`testing-library/no-wait-for-multiple-assertions`](./docs/rules/no-wait-for-multiple-assertions.md) | Disallow the use of multiple `expect` calls inside `waitFor` | | ![dom-badge][] ![angular-badge][] ![react-badge][] ![vue-badge][] |
| [`testing-library/no-wait-for-side-effects`](./docs/rules/no-wait-for-side-effects.md) | Disallow the use of side effects in `waitFor` | | |
| [`testing-library/no-wait-for-side-effects`](./docs/rules/no-wait-for-side-effects.md) | Disallow the use of side effects in `waitFor` | | ![dom-badge][] ![angular-badge][] ![react-badge][] ![vue-badge][] |
| [`testing-library/no-wait-for-snapshot`](./docs/rules/no-wait-for-snapshot.md) | Ensures no snapshot is generated inside of a `waitFor` call | | |

@@ -208,0 +208,0 @@ | [`testing-library/prefer-explicit-assert`](./docs/rules/prefer-explicit-assert.md) | Suggest using explicit assertions rather than standalone queries | | |

@@ -15,6 +15,6 @@ "use strict";

recommendedConfig: {
dom: false,
angular: false,
react: false,
vue: false,
dom: 'error',
angular: 'error',
react: 'error',
vue: 'error',
},

@@ -21,0 +21,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