Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@zeit/eslint-config-base

Package Overview
Dependencies
Maintainers
22
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zeit/eslint-config-base

[![CircleCI](https://circleci.com/gh/zeit/eslint-config-base.svg?style=svg)](https://circleci.com/gh/zeit/eslint-config-base)

latest
npmnpm
Version
1.0.0
Version published
Weekly downloads
836
-7.93%
Maintainers
22
Weekly downloads
 
Created
Source

@zeit/eslint-config-base

CircleCI

A Node.js ESLint configuration for ZEIT source code.

Usage

Add this package to your project as a dev-dependency:

$ yarn add --dev eslint @zeit/eslint-config-base

Optionally add @zeit/git-hooks if you want to auto-lint upon committing:

$ yarn add --dev @zeit/git-hooks

Then initialize the linter. Note that any optional stuff (git hooks) need to be present before running this script.

$ yarn zeit-lint-init

In the event you need to re-run the configuration (e.g. you forgot one of the optional packages), you can use --force to re-run the configuration process.

The caveats to this are that any after-the-fact manual changes to eslintConfig will be overwritten, and any optional dependency configurations (git hooks, etc.) that were removed since the first time zeit-lint-init was run will remain in package.json and need to be manually cleaned up.

$ yarn zeit-lint-init --force

FAQs

Package last updated on 20 Dec 2018

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