Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade eslint-plugin-eslint-plugin #1113

Merged
merged 1 commit into from
May 16, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/rules/__tests__/no-deprecated-functions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ describe('the rule', () => {
// a few sanity checks before doing our massive loop
ruleTester.run('no-deprecated-functions', rule, {
valid: [
{ settings: { jest: { version: 14 } }, code: 'jest' },
{ settings: { jest: { version: 14 } }, code: 'require("fs")' },
{ code: 'jest', settings: { jest: { version: 14 } } },
{ code: 'require("fs")', settings: { jest: { version: 14 } } },
...generateValidCases(14, 'jest.resetModuleRegistry'),
...generateValidCases(17, 'require.requireActual'),
...generateValidCases(25, 'jest.genMockFromModule'),
Expand Down
1 change: 0 additions & 1 deletion src/rules/__tests__/prefer-comparison-matcher.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ const testComparisonOperator = (
`expect(value).${preferredMatcherWhenNegated}(1);`,
`expect(value).not.${preferredMatcher}(1);`,
`expect(value).not.${preferredMatcherWhenNegated}(1);`,
`expect(value).${preferredMatcher}(1);`,
G-Rath marked this conversation as resolved.
Show resolved Hide resolved
...['toBe', 'toEqual', 'toStrictEqual'].reduce<string[]>(
(cases, equalityMatcher) => [
...cases,
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4474,14 +4474,14 @@ __metadata:
linkType: hard

"eslint-plugin-eslint-plugin@npm:^4.0.1":
version: 4.1.0
resolution: "eslint-plugin-eslint-plugin@npm:4.1.0"
version: 4.2.0
resolution: "eslint-plugin-eslint-plugin@npm:4.2.0"
dependencies:
eslint-utils: ^3.0.0
estraverse: ^5.2.0
peerDependencies:
eslint: ">=6.0.0"
checksum: bf1d2b136a1f85bc12dca574f0acf80802e9ea7991069c41922849b00834d37d0888c098324c68a2f1600d30c725bb31e88b56b797e533cb64d8463ef69d7791
checksum: 753bb131b0c7297528e345af9e5fe39c9fc53dc84d91a9acbe078ea16ed15cd41cb7b2e78a13d20ef270bc6b33fc0e09d80e6231acfa9e46286b8a7d144c4660
languageName: node
linkType: hard

Expand Down