Skip to content

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

Minor improvements to `.eslintrc.js` and `package.json` (#1044)

Dhruv Bhanushalic322b1a505d9
diff --git a/.eslintrc.js b/.eslintrc.js
index 1947cc808..666813033 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -165,7 +165,7 @@ module.exports = {
},
/**
* SVG imports are excluded for the import/no-unresolved
- * rule above due to due to lack of support for `?inline` suffix
+ * rule above due to lack of support for `?inline` suffix
*
* Therefore, there's no need to configure them here
*/
diff --git a/package.json b/package.json
index 2294a7651..84cad6df8 100644
--- a/package.json
+++ b/package.json
@@ -29,7 +29,7 @@
"generate-e2e-tests": "playwright codegen localhost:8443/",
"types": "tsc --noEmit",
"lint": "eslint --ext .js,.vue,.ts --ignore-path .gitignore --ignore-path .eslintignore .",
- "lintfix": "eslint --fix --ext .js,.vue,.ts --ignore-path .gitignore --ignore-path .eslintignore .",
+ "lintfix": "pnpm run lint -- --fix",
"format": "prettier --write .",
"format:test": "prettier --check .",
"vue-i18n-check": "vue-i18n-extract report --vueFiles './src/**/*.?(js|vue)' --languageFiles './src/locales/*.?(json)'",