eslint-plugin-testing-library
Advanced tools
Comparing version 4.12.2 to 4.12.3
{ | ||
"name": "eslint-plugin-testing-library", | ||
"version": "4.12.2", | ||
"version": "4.12.3", | ||
"description": "ESLint rules for Testing Library", | ||
@@ -48,2 +48,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@babel/eslint-plugin": "^7.14.5", | ||
"@commitlint/cli": "^12.1.4", | ||
@@ -50,0 +51,0 @@ "@commitlint/config-conventional": "^12.1.4", |
@@ -380,2 +380,3 @@ <div align="center"> | ||
<td align="center"><a href="http://everlong.org/"><img src="https://avatars.githubusercontent.com/u/454175?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Julien Wajsberg</b></sub></a><br /><a href="https://github.com/testing-library/eslint-plugin-testing-library/issues?q=author%3Ajulienw" title="Bug reports">🐛</a> <a href="https://github.com/testing-library/eslint-plugin-testing-library/commits?author=julienw" title="Code">💻</a> <a href="https://github.com/testing-library/eslint-plugin-testing-library/commits?author=julienw" title="Tests">⚠️</a></td> | ||
<td align="center"><a href="https://www.linkedin.com/in/maratdyatko/"><img src="https://avatars.githubusercontent.com/u/31615495?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Marat Dyatko</b></sub></a><br /><a href="https://github.com/testing-library/eslint-plugin-testing-library/issues?q=author%3Adyatko" title="Bug reports">🐛</a> <a href="https://github.com/testing-library/eslint-plugin-testing-library/commits?author=dyatko" title="Code">💻</a></td> | ||
</tr> | ||
@@ -382,0 +383,0 @@ </table> |
@@ -123,3 +123,9 @@ "use strict"; | ||
const expectStatement = expectCallNode.parent; | ||
if (!(0, node_utils_1.isMemberExpression)(expectStatement)) { | ||
return; | ||
} | ||
const property = expectStatement.property; | ||
if (!experimental_utils_1.ASTUtils.isIdentifier(property)) { | ||
return; | ||
} | ||
let matcher = property.name; | ||
@@ -126,0 +132,0 @@ let isNegatedMatcher = false; |
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
220968
3904
414
26