1.23.3 • Published 20 days ago

@lobehub/lint v1.23.3

Weekly downloads
-
License
MIT
Repository
github
Last release
20 days ago

ESlint config, Prettier config, Remark config for LobeHub

Changelog · Report Bug · Request Feature

npm.io

TOC

📦 Installation

To install Lobe Lint, run the following command:

$ bun add @lobehub/lint -D

To use template ignore files, run the following command:

$ curl -O https://raw.githubusercontent.com/lobehub/lobe-lint/master/.eslintignore
$ curl -O https://raw.githubusercontent.com/lobehub/lobe-lint/master/.gitignore
$ curl -O https://raw.githubusercontent.com/lobehub/lobe-lint/master/.prettierignore

🤯 Usage

.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

config can be found at .eslintrc.js

module.exports = require('@lobehub/lint').eslint;

Stylelint

config can be found at .stylelintrc.js

module.exports = require('@lobehub/lint').stylelint;

Commitlint

config can be found at .commitlintrc.js

module.exports = require('@lobehub/lint').commitlint;

Changelog

config can be found at .changelogrc.js

module.exports = require('@lobehub/lint').changelog;

Remark

config can be found at .remarkrc.js

module.exports = require('@lobehub/lint').remarklint;

Prettier

config can be found at .prettierrc.js

module.exports = require('@lobehub/lint').prettier;

Semantic Release

config can be found at .releaserc.js

module.exports = require('@lobehub/lint').semanticRelease;

⌨️ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

$ git clone https://github.com/lobehub/lobe-lint.git
$ cd lobehub/lint
$ bun install
$ bun start

🤝 Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.


📝 License

Copyright © 2023 LobeHub. 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.23.2

20 days ago

1.23.3

20 days ago

1.23.1

20 days ago

1.23.0

25 days ago

1.22.0

2 months ago

1.15.0

8 months ago

1.14.0

8 months ago

1.13.0

10 months ago

1.12.0

10 months ago

1.19.0

5 months ago

1.18.1

7 months ago

1.18.0

7 months ago

1.17.0

8 months ago

1.15.2

8 months ago

1.16.0

8 months ago

1.15.1

8 months ago

1.8.2

10 months ago

1.9.0

10 months ago

1.8.1

10 months ago

1.21.0

5 months ago

1.20.0

5 months ago

1.11.0

10 months ago

1.10.0

10 months ago

1.8.0

11 months ago

1.7.5

11 months ago

1.7.4

11 months ago

1.7.3

11 months ago

1.7.2

11 months ago

1.7.1

11 months ago

1.7.0

11 months ago

1.6.1

11 months ago

1.6.0

11 months ago

1.5.1

11 months ago

1.5.0

11 months ago

1.4.0

11 months ago

1.3.0

11 months ago

1.2.1

11 months ago

1.2.0

11 months ago

1.1.2

11 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago