From c4a486fa913ef17f4446e40924d2b9a6545f63da Mon Sep 17 00:00:00 2001 From: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com> Date: Tue, 18 Jul 2023 13:52:13 +1000 Subject: [PATCH] chore: Remove eslint-plugin-compat --- .eslintrc.cjs | 3 +-- package.json | 1 - pnpm-lock.yaml | 46 ---------------------------------------------- 3 files changed, 1 insertion(+), 49 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 4b45d31c2b..59ac301dd3 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -4,11 +4,10 @@ const config = { root: true, parser: '@typescript-eslint/parser', - plugins: ['@typescript-eslint', 'compat', 'import'], + plugins: ['@typescript-eslint', 'import'], extends: [ 'plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended', - 'plugin:compat/recommended', 'plugin:import/recommended', 'plugin:import/typescript', 'prettier', diff --git a/package.json b/package.json index a8484fc844..fad4066e5c 100644 --- a/package.json +++ b/package.json @@ -68,7 +68,6 @@ "eslint": "^8.34.0", "eslint-config-prettier": "^8.8.0", "eslint-import-resolver-typescript": "^3.5.5", - "eslint-plugin-compat": "^4.1.4", "eslint-plugin-import": "^2.27.5", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 50a54b4ea9..aefca60cdb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -123,9 +123,6 @@ importers: eslint-import-resolver-typescript: specifier: ^3.5.5 version: 3.5.5(@typescript-eslint/parser@5.54.0)(eslint-plugin-import@2.27.5)(eslint@8.34.0) - eslint-plugin-compat: - specifier: ^4.1.4 - version: 4.1.4(eslint@8.34.0) eslint-plugin-import: specifier: ^2.27.5 version: 2.27.5(@typescript-eslint/parser@5.54.0)(eslint-import-resolver-typescript@3.5.5)(eslint@8.34.0) @@ -4510,10 +4507,6 @@ packages: '@jridgewell/resolve-uri': 3.1.0 '@jridgewell/sourcemap-codec': 1.4.14 - /@mdn/browser-compat-data@5.2.67: - resolution: {integrity: sha512-AoLSQvglknsEyYoDHbDMGvMVt78PopMz4Kzzp+cQNlge0zGXn+QtwmIizAU+n0htMXSjNFfQOk2GgpQIrOZu0w==} - dev: true - /@mswjs/cookies@0.2.1: resolution: {integrity: sha512-0tDfcPw5/s7QsNQqS3knAvAD5w5PF1nNPagRhKO/yECY+sMbJxoC2sLWnH7Lzmh52mTSVLKDhd1r92Q3kfljnQ==} engines: {node: '>=14'} @@ -6050,10 +6043,6 @@ packages: engines: {node: '>= 10'} dev: true - /@tsconfig/node14@1.0.3: - resolution: {integrity: sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==} - dev: true - /@tsconfig/svelte@4.0.1: resolution: {integrity: sha512-B+XlGpmuAQzJqDoBATNCvEPqQg0HkO7S8pM14QDI5NsmtymzRexQ1N+nX2H6RTtFbuFgaZD4I8AAi8voGg0GLg==} dev: true @@ -7042,12 +7031,6 @@ packages: engines: {node: '>=0.10.0'} dev: false - /ast-metadata-inferer@0.8.0: - resolution: {integrity: sha512-jOMKcHht9LxYIEQu+RVd22vtgrPaVCtDRQ/16IGmurdzxvYbDd5ynxjnyrzLnieG96eTcAyaoj/wN/4/1FyyeA==} - dependencies: - '@mdn/browser-compat-data': 5.2.67 - dev: true - /ast-types-flow@0.0.7: resolution: {integrity: sha512-eBvWn1lvIApYMhzQMsu9ciLfkBY499mFZlNqG+/9WR7PVlroQw0vG30cOQQbaKz3sCEc44TAOu2ykzqXSNnwag==} dev: true @@ -9330,23 +9313,6 @@ packages: - supports-color dev: true - /eslint-plugin-compat@4.1.4(eslint@8.34.0): - resolution: {integrity: sha512-RxySWBmzfIROLFKgeJBJue2BU/6vM2KJWXWAUq+oW4QtrsZXRxbjgxmO1OfF3sHcRuuIenTS/wgo3GyUWZF24w==} - engines: {node: '>=14.x'} - peerDependencies: - eslint: ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0 - dependencies: - '@mdn/browser-compat-data': 5.2.67 - '@tsconfig/node14': 1.0.3 - ast-metadata-inferer: 0.8.0 - browserslist: 4.21.9 - caniuse-lite: 1.0.30001508 - eslint: 8.34.0 - find-up: 5.0.0 - lodash.memoize: 4.1.2 - semver: 7.3.8 - dev: true - /eslint-plugin-flowtype@8.0.3(@babel/plugin-syntax-flow@7.18.6)(@babel/plugin-transform-react-jsx@7.19.0)(eslint@8.34.0): resolution: {integrity: sha512-dX8l6qUL6O+fYPtpNRideCFSpmWOUVx5QcaGLVqe/vlDiBSe4vYljDWDETwnyFzpl7By/WVIu6rcrniCgH9BqQ==} engines: {node: '>=12.0.0'} @@ -12072,10 +12038,6 @@ packages: resolution: {integrity: sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==} dev: false - /lodash.memoize@4.1.2: - resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} - dev: true - /lodash.merge@4.6.2: resolution: {integrity: sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==} @@ -15575,14 +15537,6 @@ packages: engines: {node: '>=10'} hasBin: true - /semver@7.3.8: - resolution: {integrity: sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==} - engines: {node: '>=10'} - hasBin: true - dependencies: - lru-cache: 6.0.0 - dev: true - /semver@7.5.1: resolution: {integrity: sha512-Wvss5ivl8TMRZXXESstBA4uR5iXgEN/VC5/sOcuXdVLzcdkz4HWetIoRfG5gb5X+ij/G9rw9YoGn3QoQ8OCSpw==} engines: {node: '>=10'}