Skip to content

AlbertVilaCalvo/Wiki

Repository files navigation

albert.wiki - My personal Wiki

My software development knowledge base.

Develop

Install the packages with npm install, then run npm start and open http://localhost:3000/.

Run ESLint manually

npm run eslint

Git pre-commit hook to run Prettier, ESLint and TypeScript

To run Prettier, ESLint and TypeScript checks on every commit, run cp pre-commit .git/hooks.

Note that the checks do not abort the commit, they only inform you of any issues found.

Upgrade packages

Docusaurus: https://albert.wiki/dev/docusaurus/#upgrade

ESLint packages: npm i -D -E globals@latest @eslint/js@latest typescript-eslint@latest eslint-plugin-react@latest eslint@latest