This is a Lint tool docked in lough.
JavaScript
开发中的代码规范自动化搭建脚手架。
支持以下功能
-
eslint
: 校验Javascript
代码安装
VSCode
插件ESLint
-
typescript
: 支持typescript
开发校验 -
react
: 支持react
技术栈开发校验 -
node
: 支持node
开发校验 -
base
:javascript
基础校验
-
-
stylelint
: 校验CSS
代码安装
VSCode
插件Stylelint
-
commitlint
: 利用Git
hooks
提交前校验代码 -
prettier
: 格式化代码安装
VSCode
插件Prettier - Code formatter
-
editor
: 统一编辑器配置安装
VSCode
插件EditorConfig for VS Code
npm i @lough/lint-cli -g
or
yarn add @lough/lint-cli -g
lough-lint init