eslint-plugin-testing-library
Advanced tools
Comparing version 5.0.1 to 5.0.2
{ | ||
"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, |
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
222391
3905