1.0.2 • Published 7 months ago

@roxavn/code-convention v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

RoxaVN code convention

Biome

Use Biome for code formatting and linting (instead of prettier and eslint). Create a biome.json file in the root folder of your project with the following content:

{
  "extends": ["@roxavn/code-convention/biome"]
}

Lefthook

Use Lefthook to check commit messages and lint code before committing. Create a lefthook.yml file in the root folder of your project with the following content:

remotes:
  - git_url: https://github.com/RoxaVN/code-convention
    configs:
      - lefthook.yml

Then run npx lefthook install to install

1.0.2

7 months ago