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:
+9
-10
@@ -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')
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user