1.0.1 • Published 12 months ago

@garron/lint v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

ESlint 配置、Prettier 配置、Remark 配置

Changelog

npm.io

TOC

📦 安装

要安装 garron Lint, 请运行以下命令:

$ bun add @garron/lint -D

back-to-top

用法

.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;

back-to-top

⌨️ 本地开发

$ git clone https://github.com/geallenboy/garron-lint.git
$ cd garron/lint
$ bun install
$ bun start

back-to-top

📝 许可证

Copyright © 2024 garron. This project is MIT licensed.

@trivago/prettier-plugin-sort-imports@typescript-eslint/eslint-plugin@typescript-eslint/parser@umijs/babel-preset-umi@umijs/lintcommitlint-config-gitmojieslint-config-prettiereslint-import-resolver-aliaseslint-import-resolver-typescripteslint-plugin-importeslint-plugin-jesteslint-plugin-reacteslint-plugin-react-hookseslint-plugin-simple-import-sorteslint-plugin-sort-keys-fixeslint-plugin-typescript-sort-keyseslint-plugin-unicorneslint-plugin-unused-importsgatsby-remark-find-replacepostcss-lesspostcss-styled-syntaxprettier-plugin-organize-importsprettier-plugin-packagejsonprettier-plugin-shprettier-plugin-sort-jsonremark-frontmatterremark-gfmremark-lintremark-lint-checkbox-content-indentremark-lint-frontmatter-schemaremark-lint-heading-whitespaceremark-lint-linebreak-styleremark-lint-list-item-indentremark-lint-list-item-spacingremark-lint-no-duplicate-headings-in-sectionremark-lint-no-empty-sectionsremark-lint-no-empty-urlremark-lint-no-file-name-irregular-charactersremark-lint-no-heading-indentremark-lint-no-heading-like-paragraphremark-lint-no-paragraph-content-indentremark-lint-no-reference-like-urlremark-lint-no-shell-dollarsremark-lint-no-tabsremark-lint-no-unneeded-full-reference-imageremark-lint-no-unneeded-full-reference-linkremark-lint-ordered-list-marker-valueremark-lint-write-goodremark-panguremark-preset-lint-consistentremark-preset-lint-markdown-style-guideremark-preset-lint-recommendedremark-remove-unused-definitionsremark-sort-definitionsremark-textrremark-tocsemantic-release-config-gitmojistylelint-config-clean-orderstylelint-config-recommendedstylelint-lessstylelint-orderunist-util-visit
1.0.1

12 months ago

1.0.0

1 year ago