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 6.0.0-alpha.7 to 6.0.0-alpha.8

2

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

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

@@ -9,2 +9,10 @@ "use strict";

exports.RULE_NAME = 'no-debugging-utils';
const defaultUtilsToCheckFor = {
debug: true,
logTestingPlaygroundURL: true,
prettyDOM: true,
logRoles: true,
logDOM: true,
prettyFormat: true,
};
exports.default = (0, create_testing_library_rule_1.createTestingLibraryRule)({

@@ -41,5 +49,3 @@ name: exports.RULE_NAME,

},
defaultOptions: [
{ utilsToCheckFor: { debug: true, logTestingPlaygroundURL: true } },
],
defaultOptions: [{ utilsToCheckFor: defaultUtilsToCheckFor }],
create(context, [{ utilsToCheckFor = {} }], helpers) {

@@ -46,0 +52,0 @@ const suspiciousDebugVariableNames = [];

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