Giter Club home page Giter Club logo

s-lint's Introduction

s-lint是什么

s-lint是一个全面、通用的前端Lint规范解决方案, 与其他规范方案不同的是,业内流行的方案通常解决某一(JS或Style等)规范,如eslint-config-airbnbeslint-config-standard等,而selling-lint是一个规范集合,基本覆盖目前前端技术栈,另一方面,提供轻量的脚手架工具,使用简单。

特点

  • 覆盖全面

    包括前端开发基础规范ESLint(Vue、React、Taro、Next、Nuxt)、StyleLint(Less、CSS)、CommitLint

  • 使用简单

    提供三大基础包,安装即用;且提供轻量级命令行,一键为项目添加规范、升级规范

  • 易于扩展

    Lerna统一版本模式发包,便于基础包升级、扩展自定义paser、plugin等

  • 与时俱进

    第一时间跟进最新的规则

架构图

image.png

基础包

包名 功能 npm
eslint-config-selling 提供eslint规范 https://www.npmjs.com/package/eslint-config-selling
stylelint-config-selling 提供stylelint规范 https://www.npmjs.com/package/stylelint-config-selling
commitlint-config-selling 提供commitlint规范 https://www.npmjs.com/package/commitlint-config-selling
selling-lint-cli 命令行工具 https://www.npmjs.com/package/selling-lint-cli

使用

提供两种使用方式,1、利用脚手架 2、在工程中安装相对的包。推荐方式1

1、使用脚手架

CLI介绍

2、直接使用

参与贡献

遇到任何问题,欢迎提交issue

s-lint's People

Contributors

zxyue25 avatar huozhongyi123 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.