Skip to content

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

Update lint configs and templates to use double quotes (#354)

Dhruv Bhanushaliffc0c6a2ea73
diff --git a/.pre-commit-config.frontend.yaml.jinja b/.pre-commit-config.frontend.yaml.jinja
index da82829f4..e85846c3b 100644
--- a/.pre-commit-config.frontend.yaml.jinja
+++ b/.pre-commit-config.frontend.yaml.jinja
@@ -50,11 +50,11 @@ Dependencies must be indented by 10 spaces.
{% block eslint_dependencies %}
{{ super() }}
- - '@babel/[email protected]'
- - '@intlify/[email protected]'
- - '@nuxtjs/[email protected]'
- - '@typescript-eslint/[email protected]'
- - '@typescript-eslint/[email protected]'
+ - "@babel/[email protected]"
+ - "@intlify/[email protected]"
+ - "@nuxtjs/[email protected]"
+ - "@typescript-eslint/[email protected]"
+ - "@typescript-eslint/[email protected]"
diff --git a/prettier.config.frontend.js.jinja b/prettier.config.frontend.js.jinja
index 3b5d2717a..50852b703 100644
--- a/prettier.config.frontend.js.jinja
+++ b/prettier.config.frontend.js.jinja
@@ -7,6 +7,6 @@
{% block additional_config %}
vueIndentScriptAndStyle: false,
- plugins: [require('prettier-plugin-tailwindcss')],
- tailwindConfig: 'tailwind.config.js',
+ plugins: [require("prettier-plugin-tailwindcss")],
+ tailwindConfig: "tailwind.config.js",
{% endblock %}
diff --git a/prettier.config.js b/prettier.config.js
index 7b0c36b47..0a79e738b 100644
--- a/prettier.config.js
+++ b/prettier.config.js
@@ -10,7 +10,7 @@ module.exports = {
proseWrap: "always",
overrides: [
{
- files: "*.yml",
+ files: ["*.yml", "*.yaml"],
options: {
proseWrap: "preserve",
},
diff --git a/prettier.config.js.jinja b/prettier.config.js.jinja
index ec63c829b..df187fc93 100644
--- a/prettier.config.js.jinja
+++ b/prettier.config.js.jinja
@@ -13,7 +13,7 @@ module.exports = {
proseWrap: "always",
overrides: [
{
- files: "*.yml",
+ files: ["*.yml", "*.yaml"],
options: {
proseWrap: "preserve",
},