openOutpaint/.devtools
Victor Seiji Hariki 9f6b4e7305 separate hooks by platform
Signed-off-by: Victor Seiji Hariki <victorseijih@gmail.com>
2023-01-01 22:39:20 -03:00
..
lint.sh Add test hook 2022-12-28 23:32:02 -03:00
README.md Add test hook 2022-12-28 23:32:02 -03:00
sethooks.sh separate hooks by platform 2023-01-01 22:39:20 -03:00
updatehashes.sh now only considers staged files 2022-12-30 07:44:10 -03:00

openOutpaint DevTools

This is a folder containing some handy scripts to help developers to automate workflows and write code in openOutpaint's standards. All scripts must be run from the root of the project.

sethooks.sh script

This script will setup git hooks for this project. Hooks are mainly for cache busting purposes for now. It is recommended to run this script and setup hooks before any commits are made.

lint.sh script

Uses npm to install prettier and lint javascript, html and css files according to .prettierrc.json. This script will install node modules locally, so editors with prettier support are recommended over this script.