1.0.1 • Published 12 months ago
@garron/lint v1.0.1
ESlint 配置、Prettier 配置、Remark 配置
TOC
📦 安装
要安装 garron Lint, 请运行以下命令:
$ bun add @garron/lint -D
用法
.npmrc
public-hoist-pattern[]=*@umijs/lint*
public-hoist-pattern[]=*changelog*
public-hoist-pattern[]=*commitlint*
public-hoist-pattern[]=*eslint*
public-hoist-pattern[]=*postcss*
public-hoist-pattern[]=*prettier*
public-hoist-pattern[]=*remark*
public-hoist-pattern[]=*semantic-release*
public-hoist-pattern[]=*stylelint*
ESlint
配置可以在以下位置找到 .eslintrc.js
module.exports = require('@garron/lint').eslint;
Stylelint
配置可以在以下位置找到 .stylelintrc.js
module.exports = require('@garron/lint').stylelint;
Commitlint
配置可以在以下位置找到 .commitlintrc.js
module.exports = require('@garron/lint').commitlint;
Changelog
配置可以在以下位置找到 .changelogrc.js
module.exports = require('@garron/lint').changelog;
Remark
配置可以在以下位置找到 .remarkrc.js
module.exports = require('@garron/lint').remarklint;
Prettier
配置可以在以下位置找到 .prettierrc.js
module.exports = require('@garron/lint').prettier;
Semantic Release
配置可以在以下位置找到 .releaserc.js
module.exports = require('@garron/lint').semanticRelease;
⌨️ 本地开发
$ git clone https://github.com/geallenboy/garron-lint.git
$ cd garron/lint
$ bun install
$ bun start