@dext7r/prettier

prettier 规则配置


Keywords
dext7r
License
ISC
Install
npm install @dext7r/prettier@0.0.9

Documentation

@dext7r/linter

This package integrates ESLint, Prettier, CommitLint, Commitizen, Husky, lint-staged, and TypeScript, and provides a unified solution for linting your code. Simply install the package and run the initialization command, and the necessary configuration files will be generated for you.

Installation

To install @dext7r/linter, run the following command:

npm i @dext7r/linter -D -E

Configuration

To initialize the package, run the following command:

npx dext7r-lint

This will generate the necessary configuration files for your project, including:

  • .eslintrc.js
  • .prettierrc
  • .commitlintrc.js
  • .huskyrc.js
  • .lintstagedrc.js
  • tsconfig.json

Usage

Once you have installed and configured the package, the linter will run automatically when you build your project. You can also run the linter manually using the following command:

npm run lint

Conclusion

By using @easyv/linter, you can ensure that your code is properly linted and formatted, and that your commits adhere to a consistent standard. Our package includes all the necessary tools to keep your code clean and organized, and our initialization command makes it easy to get started. Try it out today!