eslint-plugin-test-selectors
Advanced tools
Comparing version 1.3.2 to 2.0.0
@@ -55,4 +55,8 @@ module.exports = { | ||
type: 'JSXOpeningElement' | ||
}, | ||
onSubmit: { | ||
message: 'Elements with an onSubmit handler must have a ${ this.attribute } attribute.', | ||
type: 'JSXOpeningElement' | ||
} | ||
} | ||
}; |
{ | ||
"name": "eslint-plugin-test-selectors", | ||
"version": "1.3.2", | ||
"version": "2.0.0", | ||
"description": "Makes sure test DOM attributes (e.g. data-test-id) are added to interactive DOM elements.", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/davidcalhoun/eslint-plugin-test-selectors#readme", | ||
"dependencies": { | ||
"jsx-ast-utils": "^3.2.0", | ||
"nanoid": "^3.1.18", | ||
"jsx-ast-utils": "^3.2.1", | ||
"nanoid": "^3.1.30", | ||
"requireindex": "^1.2.0" | ||
@@ -32,4 +32,4 @@ }, | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.16.0", | ||
"mocha": "^8.2.1", | ||
"eslint": "^8.5.0", | ||
"mocha": "^9.1.3", | ||
"mock-require": "^3.0.3" | ||
@@ -36,0 +36,0 @@ }, |
@@ -141,2 +141,3 @@ # eslint-plugin-test-selectors | ||
* `test-selectors/onKeyUp` | ||
* `test-selectors/onSubmit` | ||
@@ -143,0 +144,0 @@ ## Further Reading |
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
87798
34
916
161
Updatedjsx-ast-utils@^3.2.1
Updatednanoid@^3.1.30