Add linting, formatting and pre-commit (#53)

* Add dev-dependancies

* Security update npm packages

* Force audit fix

* Add linting, formatting and precommit

* Format files
This commit is contained in:
E
2024-04-29 13:21:31 +01:00
committed by GitHub
parent 80813d48e3
commit 8449b30401
18 changed files with 4064 additions and 2039 deletions

View File

@@ -1,13 +1,13 @@
module.exports = {
mode: "jit",
mode: 'jit',
purge: ['views/*.pug'],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
fontFamily: {
'extra': ['"Titling Gothic FB"'],
'sans': ['Gilroy'],
'mono': ['"Apercu Mono"'],
extra: ['"Titling Gothic FB"'],
sans: ['Gilroy'],
mono: ['"Apercu Mono"'],
},
colors: {
transparent: 'transparent',
@@ -20,14 +20,12 @@ module.exports = {
},
green: {
DEFAULT: '#CDE7B0',
}
}
},
},
},
},
variants: {
extend: {},
},
plugins: [
require('tailwind-hamburgers'),
],
}
plugins: [require('tailwind-hamburgers')],
};