build(frontend): add eslint
This commit is contained in:
parent
0e45938886
commit
0c808ca393
2
Makefile
2
Makefile
@ -312,6 +312,8 @@ frontend/src/env.sass:
|
|||||||
static: node_modules assets esbuild.config.mjs frontend/src/env.sass
|
static: node_modules assets esbuild.config.mjs frontend/src/env.sass
|
||||||
npm run build
|
npm run build
|
||||||
well-known: static;
|
well-known: static;
|
||||||
|
--lint-frontend: --compile-frontend
|
||||||
|
npm run lint
|
||||||
|
|
||||||
# HELP(compile-uniworxdb): clear and fill database. requires running postgres instance (use "make start-postgres" to start one)
|
# HELP(compile-uniworxdb): clear and fill database. requires running postgres instance (use "make start-postgres" to start one)
|
||||||
# TODO (db-m-$MIGRATION-backend): apply migration (see src/Model/Migration/Definition.hs for list of available migrations)
|
# TODO (db-m-$MIGRATION-backend): apply migration (see src/Model/Migration/Definition.hs for list of available migrations)
|
||||||
|
|||||||
@ -89,6 +89,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "node esbuild.config.mjs",
|
"build": "node esbuild.config.mjs",
|
||||||
"start": "node esbuild.config.mjs --watch"
|
"start": "node esbuild.config.mjs --watch",
|
||||||
|
"lint": "eslint ."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user