build: Use prettier for javascript

Stop ignoring .js and .json files in prettier and fix existing issues.

The `prettier-plugin-multiline-arrays` plugin is used to split arrays
with multiple elements into one line per element.
This commit is contained in:
Ralph Hopman
2024-12-19 10:19:28 +01:00
committed by Adam Saghy
parent 2ec9ba81d6
commit f693318c2e
25 changed files with 7770 additions and 7608 deletions
+9 -10
View File
@@ -2,8 +2,8 @@
module.exports = {
mode: process.env.TAILWIND_MODE ? 'jit' : '',
content: [
"./src/app/**/*.{html,js}",
'./index.html',
'./src/app/**/*.{html,js}',
'./index.html'
],
theme: {
extends: {
@@ -12,15 +12,14 @@ module.exports = {
'fade-in-down': 'fade-in-down 0.3s ease-out',
'fade-out-down': 'fade-out-down 0.3s ease-out',
'fade-in-up': 'fade-in-up 0.3s ease-out',
'fade-out-up': 'fade-out-up 0.3s ease-out',
'fade-out-up': 'fade-out-up 0.3s ease-out'
},
boxShadow: {
custom: '0px 0px 50px 0px rgb(82 63 105 / 15%)',
},
},
custom: '0px 0px 50px 0px rgb(82 63 105 / 15%)'
}
}
},
plugins: [
require("@tailwindcss/forms")
],
}
require('@tailwindcss/forms')
]
};