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.1 to 5.0.2

12

package.json
{
"name": "eslint-plugin-testing-library",
"version": "5.0.1",
"version": "5.0.2",
"description": "ESLint rules for Testing Library",

@@ -49,4 +49,4 @@ "keywords": [

"@babel/eslint-plugin": "^7.14.5",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@commitlint/cli": "^16.0.1",
"@commitlint/config-conventional": "^16.0.0",
"@types/jest": "^27.0.3",

@@ -65,3 +65,3 @@ "@types/node": "^16.11.11",

"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^5.2.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-remote-tester": "^2.0.1",

@@ -73,5 +73,5 @@ "eslint-remote-tester-repositories": "^0.0.3",

"lint-staged": "^12.1.2",
"prettier": "2.5.0",
"prettier": "2.5.1",
"semantic-release": "^18.0.1",
"ts-jest": "27.0.7",
"ts-jest": "27.1.2",
"ts-node": "^10.4.0",

@@ -78,0 +78,0 @@ "typescript": "^4.5.2"

@@ -9,3 +9,5 @@ "use strict";

const ALLOWED_VAR_NAMES = ['view', 'utils'];
const ALLOWED_VAR_NAMES_TEXT = ALLOWED_VAR_NAMES.map((name) => `\`${name}\``).join(', ');
const ALLOWED_VAR_NAMES_TEXT = ALLOWED_VAR_NAMES.map((name) => `\`${name}\``)
.join(', ')
.replace(/, ([^,]*)$/, ', or $1');
exports.default = (0, create_testing_library_rule_1.createTestingLibraryRule)({

@@ -12,0 +14,0 @@ name: exports.RULE_NAME,

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