Skip to content

Commit

Permalink
Update @openverse/eslint-plugin (#3737)
Browse files Browse the repository at this point in the history
* Update @openverse/eslint-plugin

* Fix postinstall script

* Update swc build for swc-project/swc#4017

---------

Co-authored-by: sarayourfriend <24264157+sarayourfriend@users.noreply.github.com>
  • Loading branch information
openverse-bot and sarayourfriend committed Feb 6, 2024
1 parent 9e65a2b commit 99f2bc9
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 16 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"author": "Openverse <openverse@wordpress.org>",
"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": "pnpm@8.12.1",
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 ."
},
Expand All @@ -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",
Expand All @@ -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",
Expand Down
58 changes: 47 additions & 11 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 99f2bc9

Please sign in to comment.