Skip to content

Commit f3db91b

Browse files
renovate[bot]renovate-botdimaMachina
authored
chore(deps): update dependency eslint-plugin-eslint-plugin to v4.1.0 (#846)
* chore(deps): update dependency eslint-plugin-eslint-plugin to v4.1.0 * fix: adjust eslint-plugin-eslint-plugin patch Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Dimitri POSTOLOV <[email protected]>
1 parent 928dbcf commit f3db91b

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"eslint": "8.7.0",
3838
"eslint-config-prettier": "8.3.0",
3939
"eslint-config-standard": "16.0.3",
40-
"eslint-plugin-eslint-plugin": "4.0.3",
40+
"eslint-plugin-eslint-plugin": "4.1.0",
4141
"eslint-plugin-import": "2.25.4",
4242
"eslint-plugin-node": "11.1.0",
4343
"eslint-plugin-promise": "6.0.0",
File renamed without changes.

patches/eslint-plugin-eslint-plugin+4.0.3.patch renamed to patches/eslint-plugin-eslint-plugin+4.1.0.patch

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
diff --git a/node_modules/eslint-plugin-eslint-plugin/lib/rules/no-only-tests.js b/node_modules/eslint-plugin-eslint-plugin/lib/rules/no-only-tests.js
2-
index e6719bb..b0e871d 100644
2+
index caa646e..40f6c69 100644
33
--- a/node_modules/eslint-plugin-eslint-plugin/lib/rules/no-only-tests.js
44
+++ b/node_modules/eslint-plugin-eslint-plugin/lib/rules/no-only-tests.js
5-
@@ -32,7 +32,7 @@ module.exports = {
5+
@@ -36,7 +36,7 @@ module.exports = {
66

77
const onlyProperty = test.properties.find(
8-
property =>
8+
(property) =>
99
- property.key.type === 'Identifier' &&
1010
+ property.key?.type === 'Identifier' &&
1111
property.key.name === 'only' &&
1212
property.value.type === 'Literal' &&
1313
property.value.value
1414
diff --git a/node_modules/eslint-plugin-eslint-plugin/lib/utils.js b/node_modules/eslint-plugin-eslint-plugin/lib/utils.js
15-
index 8aca920..707fe53 100644
15+
index 646b472..1e58ed7 100644
1616
--- a/node_modules/eslint-plugin-eslint-plugin/lib/utils.js
1717
+++ b/node_modules/eslint-plugin-eslint-plugin/lib/utils.js
18-
@@ -24,10 +24,10 @@ function isNormalFunctionExpression (node) {
19-
*/
20-
function isRuleTesterConstruction (node) {
21-
return node.type === 'NewExpression' && (
22-
- (node.callee.type === 'Identifier' && node.callee.name === 'RuleTester') ||
23-
+ (node.callee.type === 'Identifier' && node.callee.name === 'GraphQLRuleTester') ||
24-
(node.callee.type === 'MemberExpression' &&
25-
node.callee.property.type === 'Identifier' &&
26-
- node.callee.property.name === 'RuleTester')
27-
+ node.callee.property.name === 'GraphQLRuleTester')
18+
@@ -25,10 +25,10 @@ function isNormalFunctionExpression(node) {
19+
function isRuleTesterConstruction(node) {
20+
return (
21+
node.type === 'NewExpression' &&
22+
- ((node.callee.type === 'Identifier' && node.callee.name === 'RuleTester') ||
23+
+ ((node.callee.type === 'Identifier' && node.callee.name === 'GraphQLRuleTester') ||
24+
(node.callee.type === 'MemberExpression' &&
25+
node.callee.property.type === 'Identifier' &&
26+
- node.callee.property.name === 'RuleTester'))
27+
+ node.callee.property.name === 'GraphQLRuleTester'))
2828
);
2929
}
3030

31-
@@ -343,7 +343,7 @@ module.exports = {
32-
variableIdentifiers.has(statement.expression.callee.object)
33-
) &&
31+
@@ -410,7 +410,7 @@ module.exports = {
32+
(isRuleTesterConstruction(statement.expression.callee.object) ||
33+
variableIdentifiers.has(statement.expression.callee.object)) &&
3434
statement.expression.callee.property.type === 'Identifier' &&
3535
- statement.expression.callee.property.name === 'run'
3636
+ statement.expression.callee.property.name === 'runGraphQLTests'

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3693,10 +3693,10 @@ eslint-plugin-es@^3.0.0:
36933693
eslint-utils "^2.0.0"
36943694
regexpp "^3.0.0"
36953695

3696-
eslint-plugin-eslint-plugin@4.0.3:
3697-
version "4.0.3"
3698-
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-4.0.3.tgz#149a5382620f4ea8b85a35bc549c4a8a45fac53e"
3699-
integrity sha512-10Eb3AO4PF7PuJbTSBAD1dLsu1RHtGxeLEjUpVVEyQaPtSmlEvCK7LMpDow1Xv+kHBujm4u9OtoOQ//WIijLCw==
3696+
eslint-plugin-eslint-plugin@4.1.0:
3697+
version "4.1.0"
3698+
resolved "https://registry.yarnpkg.com/eslint-plugin-eslint-plugin/-/eslint-plugin-eslint-plugin-4.1.0.tgz#40ae944d79e845dc9d4a85328eea3c5bf4ae0f7d"
3699+
integrity sha512-QJVw+WYXJuG2469gx5G929bz7crfxySDlK1i569FkuT6dpeHDeP7MmDrKaswCx17snG25LRFD6wmVX+AO5x7Qg==
37003700
dependencies:
37013701
eslint-utils "^3.0.0"
37023702
estraverse "^5.2.0"

0 commit comments

Comments
 (0)