🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

increment-eslint

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

increment-eslint

[![Build Status](https://travis-ci.org/Genluo/IncrementLint.svg)](https://travis-ci.org/Genluo/increment-eslint) [![](https://img.shields.io/npm/v/increment-eslint)]((https://www.npmjs.com/package/increment-eslint))

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
3
200%
Maintainers
1
Weekly downloads
 
Created
Source

IncrementLint

Build Status

IncrementLint 是一个前端项目的eslint增量检测工具,适合为后期使用eslint进行代码校验的项目配置commit hooks,强制每次提交都针对这次修改的代码进行eslint校验

Use

  • 安装 tnpm i IncrementLint -g

  • 使用 git add . 确保修改的文件已经暂存

  • 调用检查命令 incrementLint

dev

  • 安装项目依赖 tnpm i

  • link 命令 npm link

  • 启动项目 npm run dev

Effect

效果图

FAQs

Package last updated on 11 Oct 2020

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