webapp - ESLint + Prettier with pre-commit hooks (#54)
resolves #47 Co-authored-by: johba <johba@harb.eth> Reviewed-on: https://codeberg.org/johba/harb/pulls/54
This commit is contained in:
parent
2acb619a11
commit
f8927b426e
83 changed files with 7137 additions and 5113 deletions
9
web-app/.lintstagedrc.json
Normal file
9
web-app/.lintstagedrc.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"src/**/*.{vue,ts,tsx}": [
|
||||
"eslint --fix",
|
||||
"prettier --write"
|
||||
],
|
||||
"src/**/*.scss": [
|
||||
"prettier --write"
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue