Skip to content

alicenet/ui-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UI Starter

Below you'll find tooling for code and commit hygiene related to Alicenet projects.

Command

Here's the command to install all required packages. You will be prompted to answer some questions to configure ESLint to the purpose of your project.

npm i prettier --save-dev --exact && npm i @commitlint/cli @commitlint/config-conventional @commitlint/format lint-staged --save-dev && npx husky-init && npm init @eslint/config

Formatting

Linting

Prettier

See the .prettierrc file for details.

Husky

See the .husky directory for details

commit-msg

This script checks commit messages using (commitLint)[https://commitlint.js.org/#/] to check against formatting found (here)[https://github.com/conventional-changelog/commitlint/#what-is-commitlint]

pre-commit

This script runs lint-staged commands found in .lintstagedrc.json file. Currently runs:

  • Prettier
  • ESLint

ESLint

Linter is used by husky to check files before committing.

lint-staged

Used to run commands when committing. See Husky section for details.

commitLint

Used to check commit messages against formatting found (here)[https://github.com/conventional-changelog/commitlint/#what-is-commitlint].

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published