eslint-plugin-testing-library
Advanced tools
Comparing version 6.0.0-alpha.7 to 6.0.0-alpha.8
{ | ||
"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 = []; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
230990
4086