Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lobehub/lint

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lobehub/lint

  • 1.16.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
27K
decreased by-18.24%
Maintainers
2
Weekly downloads
 
Created
Source

Lobe Lint

ESlint config, Prettier config, Remark config for LobeHub

Changelog · Report Bug · Request Feature

release releaseDate ciTest ciRelease
contributors forks stargazers issues

Table of contents
TOC

📦 Installation

To install Lobe Lint, run the following command:

pnpm 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 Gitpod for online development:

Open in Gitpod

Or clone it for local development:

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

🤝 Contributing

📊 Total: 3


📝 License

Copyright © 2023 ~ present LobeHub.
This project is MIT licensed.

FAQs

Package last updated on 04 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc