Code Monkey home page Code Monkey logo

lobe-lint's Introduction

Lobe Lint

ESlint config, Prettier config, Remark config for LobeHub

Changelog Β· Report Bug Β· Request Feature


Table of contents

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.

lobe-lint's People

Contributors

canisminor1990 avatar semantic-release-bot avatar renovate[bot] avatar actions-user avatar dependabot[bot] avatar arvinxx avatar tnga avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.