From 7ce64e9c0d9e93094d2d35818d0b4ed0d31c25cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Tue, 11 Oct 2022 12:38:08 +0200 Subject: [PATCH] Install and use `@github/browserslist-config` --- package-lock.json | 11 +++++++++++ package.json | 2 ++ 2 files changed, 13 insertions(+) diff --git a/package-lock.json b/package-lock.json index 12cc3c3a..5b3f0918 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0-dev", "license": "MIT", "dependencies": { + "@github/browserslist-config": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", "eslint-config-prettier": ">=8.0.0", @@ -84,6 +85,11 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/@github/browserslist-config": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@github/browserslist-config/-/browserslist-config-1.0.0.tgz", + "integrity": "sha512-gIhjdJp/c2beaIWWIlsXdqXVRUz3r2BxBCpfz/F3JXHvSAQ1paMYjLH+maEATtENg+k5eLV7gA+9yPp762ieuw==" + }, "node_modules/@github/prettier-config": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/@github/prettier-config/-/prettier-config-0.0.4.tgz", @@ -3446,6 +3452,11 @@ "strip-json-comments": "^3.1.1" } }, + "@github/browserslist-config": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@github/browserslist-config/-/browserslist-config-1.0.0.tgz", + "integrity": "sha512-gIhjdJp/c2beaIWWIlsXdqXVRUz3r2BxBCpfz/F3JXHvSAQ1paMYjLH+maEATtENg+k5eLV7gA+9yPp762ieuw==" + }, "@github/prettier-config": { "version": "0.0.4", "resolved": "https://registry.npmjs.org/@github/prettier-config/-/prettier-config-0.0.4.tgz", diff --git a/package.json b/package.json index f348e248..975a5afe 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ }, "homepage": "https://github.com/github/eslint-plugin-github#readme", "dependencies": { + "@github/browserslist-config": "^1.0.0", "@typescript-eslint/eslint-plugin": "^5.1.0", "@typescript-eslint/parser": "^5.1.0", "eslint-config-prettier": ">=8.0.0", @@ -42,6 +43,7 @@ "svg-element-attributes": "^1.3.1" }, "prettier": "@github/prettier-config", + "browserslist": "@github/browserslist-config", "peerDependencies": { "eslint": "^8.0.1" },