diff --git a/.github/dependabot.yml b/.github/dependabot.yml index cd77e4e..5195d61 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,11 +9,12 @@ updates: timezone: 'Europe/Madrid' open-pull-requests-limit: 10 groups: - eslint-plugins: # TODO Add eslint back once updated to v9 + eslint: patterns: - '@shlinkio/eslint-config-js-coding-standard' - 'typescript-eslint' - '*eslint-plugin*' + - 'eslint' types: patterns: - '@types/*' diff --git a/package-lock.json b/package-lock.json index b4d4fec..bcc8986 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,7 +8,7 @@ "name": "react-external-link", "license": "MIT", "devDependencies": { - "@shlinkio/eslint-config-js-coding-standard": "~3.2.0", + "@shlinkio/eslint-config-js-coding-standard": "~3.2.1", "@stylistic/eslint-plugin": "^2.9.0", "@testing-library/jest-dom": "^6.5.0", "@testing-library/react": "^16.0.1", @@ -1570,9 +1570,9 @@ } }, "node_modules/@shlinkio/eslint-config-js-coding-standard": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-3.2.0.tgz", - "integrity": "sha512-pLGTrjDjQmfLGTmxUwXQ8MQAN3u4hnI2uR7xrdfTGEaYdd4H/gs5zNL/gHVKosboBoxR2iCwL1LPwOWc/NLWUw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-3.2.1.tgz", + "integrity": "sha512-Dh7Szr0NU5Pea27Qb8k4BdnH1IpXJAn6ZzjPKDmoWNv8vn5GI4fYvHX1skmMrVlgzB0jZgpGpIF3Sr8EC8rOaQ==", "dev": true, "peerDependencies": { "@stylistic/eslint-plugin": "^2.1.0", @@ -8051,9 +8051,9 @@ } }, "@shlinkio/eslint-config-js-coding-standard": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-3.2.0.tgz", - "integrity": "sha512-pLGTrjDjQmfLGTmxUwXQ8MQAN3u4hnI2uR7xrdfTGEaYdd4H/gs5zNL/gHVKosboBoxR2iCwL1LPwOWc/NLWUw==", + "version": "3.2.1", + "resolved": "https://registry.npmjs.org/@shlinkio/eslint-config-js-coding-standard/-/eslint-config-js-coding-standard-3.2.1.tgz", + "integrity": "sha512-Dh7Szr0NU5Pea27Qb8k4BdnH1IpXJAn6ZzjPKDmoWNv8vn5GI4fYvHX1skmMrVlgzB0jZgpGpIF3Sr8EC8rOaQ==", "dev": true, "requires": {} }, diff --git a/package.json b/package.json index 9eb3806..36d5c35 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "types": "tsc" }, "devDependencies": { - "@shlinkio/eslint-config-js-coding-standard": "~3.2.0", + "@shlinkio/eslint-config-js-coding-standard": "~3.2.1", "@stylistic/eslint-plugin": "^2.9.0", "@testing-library/jest-dom": "^6.5.0", "@testing-library/react": "^16.0.1", diff --git a/test/ExternalLink.spec.tsx b/test/ExternalLink.spec.tsx index ce95046..c4b960c 100644 --- a/test/ExternalLink.spec.tsx +++ b/test/ExternalLink.spec.tsx @@ -4,7 +4,7 @@ import { ExternalLink } from '../src'; describe('', () => { const setUp = (href = 'href', children?: ReactNode, rel?: string): ChildNode => { - const { container } = render(); + const { container } = render({children}); const { firstChild } = container; if (!firstChild) {