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

@zhike/eslint-config

Package Overview
Dependencies
Maintainers
13
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zhike/eslint-config

Zhike ESLint Shared Configuation

latest
Source
npmnpm
Version
2.0.0
Version published
Maintainers
13
Created
Source

eslint-config-zhike

Eslint rules for zhike

codestyle travis npm npm npm npm

GitHub forks GitHub stars

An ESLint Shareable Config for Zhike Team

Install

npm install --save-dev @zhike/eslint-config

or

yarn add -D @zhike/eslint-config

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the Zhike JavaScript Style shareable config, first run this:

npm install --save-dev @zhike/eslint-config\
  eslint-config-standard\
  eslint-plugin-standard\
  eslint-plugin-promise\
  eslint-plugin-import\
  eslint-plugin-node
  eslint

Then, add this to your .eslintrc file:

{
  "extends": "@zhike"
}

Note: We omitted the /eslint-config suffix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Badge

You can add a badge to your README.md file now.

With code:

![codestyle](https://img.shields.io/badge/codestyle-%40zhike-green.svg)

It looks like codestyle

Contribute

Contribute Guide

License

MIT. Copyright (c) Zhike.

Keywords

eslint

FAQs

Package last updated on 11 Jan 2019

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