1.0.4 • Published 1 year ago

@dext7r/linter v1.0.4

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

@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

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 @dext7r/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!