Openverse is a search engine for openly-licensed media. This monorepo includes all application code.
Update @openverse/eslint-plugin (#3737)
Openverse (Bot)99f2bc91022a
diff --git a/package.json b/package.jsonindex 7da3e57e5..392d7df44 100644--- a/package.json+++ b/package.json@@ -9,8 +9,8 @@},"author": "Openverse <[email protected]>","scripts": {- "postinstall": "pnpm --filter ./packages/* run build",- "preeslint": "pnpm --filter eslint-plugin run build",+ "postinstall": "pnpm --filter './packages/*' run build",+ "preeslint": "pnpm --filter '@openverse/eslint-plugin' run build","eslint": "eslint --ext .js,.ts,.vue,.json,.json5 --ignore-path .gitignore --ignore-path .eslintignore --max-warnings=0 frontend automations/js packages .pnpmfile.cjs .eslintrc.js prettier.config.js tsconfig.base.json"},"packageManager": "[email protected]",diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.jsonindex e26f78b8b..ec2586a94 100644--- a/packages/eslint-plugin/package.json+++ b/packages/eslint-plugin/package.json@@ -5,7 +5,7 @@"version": "0.0.0","main": "dist/index.js","scripts": {- "build": "swc ./src -d ./dist",+ "build": "swc ./src -d ./dist --strip-leading-paths --delete-dir-on-start","test:unit": "pnpm run build && jest","types": "tsc -p ."},@@ -20,7 +20,7 @@"eslint-plugin-eslint-comments": "^3.2.0","eslint-plugin-import": "^2.28.1","eslint-plugin-jest": "^27.2.3",- "eslint-plugin-playwright": "^0.21.0",+ "eslint-plugin-playwright": "^0.22.0","eslint-plugin-tsdoc": "^0.2.17","eslint-plugin-unicorn": "^48.0.1","eslint-plugin-vue": "^9.17.0",@@ -30,7 +30,7 @@},"devDependencies": {"@eslint/eslintrc": "^2.1.2",- "@swc/cli": "^0.1.62",+ "@swc/cli": "^0.3.0","@swc/core": "^1.3.82","@swc/jest": "^0.2.29","@typescript-eslint/rule-tester": "^6.5.0",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c6d9084a6..22cbd83d7 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -344,8 +344,8 @@ importers:specifier: ^27.2.3version: 27.2.3(@typescript-eslint/[email protected])([email protected])([email protected])([email protected])eslint-plugin-playwright:- specifier: ^0.21.0- version: 0.21.0([email protected])([email protected])+ specifier: ^0.22.0+ version: 0.22.2([email protected])([email protected])eslint-plugin-tsdoc:specifier: ^0.2.17version: 0.2.17@@ -369,8 +369,8 @@ importers:specifier: ^2.1.2version: 2.1.2'@swc/cli':- specifier: ^0.1.62- version: 0.1.62(@swc/[email protected])+ specifier: ^0.3.0+ version: 0.3.9(@swc/[email protected])'@swc/core':specifier: ^1.3.82version: 1.3.82@@ -3937,7 +3937,7 @@ packages:ajv: 6.12.6debug: 4.3.4espree: 9.6.1- globals: 13.21.0+ globals: 13.24.0ignore: 5.2.4import-fresh: 3.3.0js-yaml: 4.1.0@@ -7013,9 +7013,9 @@ packages:- webpack-commanddev: true- /@swc/[email protected](@swc/[email protected]):- resolution: {integrity: sha512-kOFLjKY3XH1DWLfXL1/B5MizeNorHR8wHKEi92S/Zi9Md/AK17KSqR8MgyRJ6C1fhKHvbBCl8wboyKAFXStkYw==}- engines: {node: '>= 12.13'}+ /@swc/[email protected](@swc/[email protected]):+ resolution: {integrity: sha512-e5grxGEyNT0fYZEFmhSrRYL1kFAZAXlv+WjfQ35J6J9Hl0EtrMVymAEbGabetg2Q/2FX6HiRcjgc9LrdUCBk4A==}+ engines: {node: '>= 16.14.0'}hasBin: truepeerDependencies:'@swc/core': ^1.2.66@@ -7026,8 +7026,11 @@ packages:dependencies:'@mole-inc/bin-wrapper': 8.0.1'@swc/core': 1.3.82+ '@swc/counter': 0.1.3commander: 7.2.0fast-glob: 3.3.1+ minimatch: 9.0.3+ piscina: 4.3.1semver: 7.5.4slash: 3.0.0source-map: 0.7.3@@ -7147,6 +7150,10 @@ packages:'@swc/core-win32-x64-msvc': 1.3.82dev: true+ /@swc/[email protected]:+ resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==}+ dev: true+/@swc/[email protected](@swc/[email protected]):resolution: {integrity: sha512-8reh5RvHBsSikDC3WGCd5ZTd2BXKkyOdK7QwynrCH58jk2cQFhhHhFBg/jvnWZehUQe/EoOImLENc9/DwbBFow==}engines: {npm: '>= 7.0.0'}@@ -11911,8 +11918,8 @@ packages:natural-compare: 1.4.0dev: true- resolution: {integrity: sha512-Y6qwguE9L6LB1JCsnPKaHbo+Z4X8/MngD82N0NkwiZ0ch0UVc4Oc2ZqmxanFxftIddnvwtNNlzUezglLlzUzKA==}+ resolution: {integrity: sha512-LtOB9myIX1O7HHqg9vtvBLjvXq1MXKuXIcD1nS+qZiMUJV6s9HBdilURAr9pIFc9kEelbVF54hOJ8pMxHvJP7g==}peerDependencies:eslint: '>=7'eslint-plugin-jest: '>=25'@@ -16195,6 +16202,16 @@ packages:resolution: {integrity: sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==}dev: true+ resolution: {integrity: sha512-px/KnJAJZf5RuBGcfD+Sp2pAKq0ytz8j+1NehvgIGFkvtvFrDM3T8E4x/JJODXK9WZow8RRGrbA9QQ3hs+pDhA==}+ os: ['!win32']+ requiresBuild: true+ dependencies:+ node-addon-api: 3.2.1+ node-gyp-build: 4.8.0+ dev: true+ optional: true+resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==}dev: true@@ -16215,6 +16232,12 @@ packages:resolution: {integrity: sha512-ibPK3iA+vaY1eEjESkQkM0BbCqFOaZMiXRTtdB0u7b4djtY6JnsjvPdUHVMg6xQt3B8fpTTWHI9A+ADjM9frzg==}dev: true+ resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==}+ requiresBuild: true+ dev: true+ optional: true+resolution: {integrity: sha512-BOb67bWg2dTyax5kdef5WfU3X8xu4wPg+zHzkvls0Q/QpYycIFRLEEIdAx9Wma43DxG6Qzn4illdZoYseKWa4A==}engines: {node: '>= 0.4.6'}@@ -16245,6 +16268,13 @@ packages:dependencies:whatwg-url: 5.0.0+ resolution: {integrity: sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og==}+ hasBin: true+ requiresBuild: true+ dev: true+ optional: true+resolution: {integrity: sha512-ncg1033CaX9UexbyA7e1N0aAoAYRDiV8jkTvzEnfd1GDvzFdrsXLzR4p4ik8mwLgnaKP/jyUFWDy9q3jvRT2Jw==}dependencies:@@ -17107,6 +17137,12 @@ packages:resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-MBj0QYm3hJQ/C/wIXTN1OCYC8uQ4BBJ4LVele2P4ZwVQAH04vkk8E1SpDbuemLAL1dZorbuOob9rYqJeWCcCRg==}+ optionalDependencies:+ nice-napi: 1.0.2+ dev: true+resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==}engines: {node: '>=6'}@@ -22176,7 +22212,7 @@ packages:dependencies:imurmurhash: 0.1.4is-typedarray: 1.0.0- signal-exit: 3.0.6+ signal-exit: 3.0.7typedarray-to-buffer: 3.1.5dev: true