lotus-lint

lotus lint

Usage no npm install needed!

<script type="module">
  import lotusLint from 'https://cdn.skypack.dev/lotus-lint';
</script>

README

lotus-lint

代码质量检查和美化工具,封装了 eslint、stylelint、prettier、lint-staged、husky。

NPM version NPM downloads

项目由来

项目为了保证代码质量,就需要引入各种lint。这需要各种包,配置繁琐,为什么不封装一个库,去简化使用,这就是这个库的由来。

特性

  • 📦 开箱即用,内置 eslint、stylelint、prettier、lint-staged、husky
  • 🎉 内置配置,提供了提炼于社区的最佳lint配置
  • 🌴 自定义配置,完全支持各个lint的自定义配置

使用

  • 安装

npm安装

npm install lotus-lint --save-dev

yarn安装

yarn add lotus-lint