Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix command for code formatting (#1239)

Krystle Salazard8097855fb77
diff --git a/package.json b/package.json
index 7a4071a5b..d4963b902 100644
--- a/package.json
+++ b/package.json
@@ -38,8 +38,8 @@
"test:playwright:update-tapes": "UPDATE_TAPES=true pnpm test:playwright",
"test:playwright:gen": "playwright codegen localhost:8443/",
"types": "vue-tsc --noEmit",
- "lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore --ignore-path .eslintignore . && prettier --check .",
- "lint:fix": "pnpm lint -- --fix && prettier --write --loglevel=warn .",
+ "lint": "prettier --check .; eslint --ext .js,.vue,.ts --ignore-path .gitignore --ignore-path .eslintignore .",
+ "lint:fix": "prettier --write --loglevel=warn .; pnpm lint -- --fix",
"i18n": "pnpm i18n:create-locales-list && pnpm i18n:get-translations && pnpm i18n:update-locales",
"i18n:no-get": "pnpm i18n:create-locales-list && pnpm i18n:update-locales",
"i18n:create-locales-list": "node src/locales/scripts/create-wp-locale-list",