Skip to content

Commit a4def8d

Browse files
committed
chore(ESLint): replace eslint-plugin-compat patch with merged PR
PR: amilajack/eslint-plugin-compat#676
1 parent eb50b73 commit a4def8d

File tree

4 files changed

+18
-58
lines changed

4 files changed

+18
-58
lines changed

.yarn/patches/eslint-plugin-compat-npm-6.0.2-187c42861e.patch

Lines changed: 0 additions & 30 deletions
This file was deleted.

packages/dnb-eufemia/eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ export default [
6262
...(config.settings || {}),
6363
polyfills: [...(config.settings?.polyfills || []), 'Object.hasOwn'],
6464
lintAllEsApis: true,
65+
ignoreConditionalChecks: true,
6566
},
6667
})),
6768
{

packages/dnb-eufemia/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
"dotenv": "10.0.0",
205205
"dotenv-cli": "4.1.0",
206206
"eslint": "9.39.2",
207-
"eslint-plugin-compat": "patch:eslint-plugin-compat@npm%3A6.0.2#~/.yarn/patches/eslint-plugin-compat-npm-6.0.2-187c42861e.patch",
207+
"eslint-plugin-compat": "6.1.0",
208208
"eslint-plugin-import": "2.32.0",
209209
"eslint-plugin-jest": "29.12.1",
210210
"eslint-plugin-jsx-a11y": "6.10.2",

yarn.lock

Lines changed: 16 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4353,7 +4353,7 @@ __metadata:
43534353
dotenv: "npm:10.0.0"
43544354
dotenv-cli: "npm:4.1.0"
43554355
eslint: "npm:9.39.2"
4356-
eslint-plugin-compat: "patch:eslint-plugin-compat@npm%3A6.0.2#~/.yarn/patches/eslint-plugin-compat-npm-6.0.2-187c42861e.patch"
4356+
eslint-plugin-compat: "npm:6.1.0"
43574357
eslint-plugin-import: "npm:2.32.0"
43584358
eslint-plugin-jest: "npm:29.12.1"
43594359
eslint-plugin-jsx-a11y: "npm:6.10.2"
@@ -6188,13 +6188,20 @@ __metadata:
61886188
languageName: node
61896189
linkType: hard
61906190

6191-
"@mdn/browser-compat-data@npm:^5.5.35, @mdn/browser-compat-data@npm:^5.6.19":
6191+
"@mdn/browser-compat-data@npm:^5.6.19":
61926192
version: 5.7.6
61936193
resolution: "@mdn/browser-compat-data@npm:5.7.6"
61946194
checksum: 10/c1dbbd41f2a600dec8be0b570131e81e26aa2748e19993a87db9edfafdd53ab55a80aca7471435bf60eee8bb7215f0111f99ba6614afa905ddbf6b0ba0efc83f
61956195
languageName: node
61966196
linkType: hard
61976197

6198+
"@mdn/browser-compat-data@npm:^6.1.1":
6199+
version: 6.1.5
6200+
resolution: "@mdn/browser-compat-data@npm:6.1.5"
6201+
checksum: 10/4fb08f12a8471d9b1b3f10aa0b674c0ab24edc2aa10abf284a4c407c2bd6d55b5ed469e21f465677ecc08eac288c360d751fb02e8147722282609943a2417959
6202+
languageName: node
6203+
linkType: hard
6204+
61986205
"@mdx-js/mdx@npm:3.1.0":
61996206
version: 3.1.0
62006207
resolution: "@mdx-js/mdx@npm:3.1.0"
@@ -12742,7 +12749,7 @@ __metadata:
1274212749
languageName: node
1274312750
linkType: hard
1274412751

12745-
"browserslist@npm:^4.24.2, browserslist@npm:^4.28.0":
12752+
"browserslist@npm:^4.25.2, browserslist@npm:^4.28.0":
1274612753
version: 4.28.1
1274712754
resolution: "browserslist@npm:4.28.1"
1274812755
dependencies:
@@ -16939,39 +16946,21 @@ __metadata:
1693916946
languageName: node
1694016947
linkType: hard
1694116948

16942-
"eslint-plugin-compat@npm:6.0.2":
16943-
version: 6.0.2
16944-
resolution: "eslint-plugin-compat@npm:6.0.2"
16945-
dependencies:
16946-
"@mdn/browser-compat-data": "npm:^5.5.35"
16947-
ast-metadata-inferer: "npm:^0.8.1"
16948-
browserslist: "npm:^4.24.2"
16949-
caniuse-lite: "npm:^1.0.30001687"
16950-
find-up: "npm:^5.0.0"
16951-
globals: "npm:^15.7.0"
16952-
lodash.memoize: "npm:^4.1.2"
16953-
semver: "npm:^7.6.2"
16954-
peerDependencies:
16955-
eslint: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
16956-
checksum: 10/7be7c900ee4e460d8ebc2605331b45605f1a0f95280fe46068ff95c4c4bde9242b25a5c9a1492b3e1535e642b5c14aab66df7ca2f8247fe2520d9939e97a337f
16957-
languageName: node
16958-
linkType: hard
16959-
16960-
"eslint-plugin-compat@patch:eslint-plugin-compat@npm%3A6.0.2#~/.yarn/patches/eslint-plugin-compat-npm-6.0.2-187c42861e.patch":
16961-
version: 6.0.2
16962-
resolution: "eslint-plugin-compat@patch:eslint-plugin-compat@npm%3A6.0.2#~/.yarn/patches/eslint-plugin-compat-npm-6.0.2-187c42861e.patch::version=6.0.2&hash=27b4ee"
16949+
"eslint-plugin-compat@npm:6.1.0":
16950+
version: 6.1.0
16951+
resolution: "eslint-plugin-compat@npm:6.1.0"
1696316952
dependencies:
16964-
"@mdn/browser-compat-data": "npm:^5.5.35"
16953+
"@mdn/browser-compat-data": "npm:^6.1.1"
1696516954
ast-metadata-inferer: "npm:^0.8.1"
16966-
browserslist: "npm:^4.24.2"
16955+
browserslist: "npm:^4.25.2"
1696716956
caniuse-lite: "npm:^1.0.30001687"
1696816957
find-up: "npm:^5.0.0"
1696916958
globals: "npm:^15.7.0"
1697016959
lodash.memoize: "npm:^4.1.2"
1697116960
semver: "npm:^7.6.2"
1697216961
peerDependencies:
1697316962
eslint: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0
16974-
checksum: 10/194a141b3ad86b5f3b8ff041a02eef30a5bfd146b564781f10429ef9ef3a0b0acabcd49ff951e1114e7604975fe6a3cdbbe2dbb245d379dceca73adbcf09c718
16963+
checksum: 10/147ba93605a2ebfaa68f9d4f40858f95c99728e734196671d4e9a38c8003e4d1307b7e90ce4bd64d59ba57c4cfc4bc04c2e91df17a1a1f9bfa432b1a340cc32b
1697516964
languageName: node
1697616965
linkType: hard
1697716966

0 commit comments

Comments
 (0)