Socket
Socket
Sign inDemoInstall

eslint-config-vi

Package Overview
Dependencies
193
Maintainers
7
Versions
72
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-vi

ESLint shareable config used by VI Company


Version published
Weekly downloads
259
increased by94.74%
Maintainers
7
Install size
16.9 kB
Created
Weekly downloads
 

Changelog

Source

11.0.0 (2021-03-02)

  • The config is now based on eslint-config-airbnb-base
  • Extending with our own overrides

Readme

Source

eslint-config-vi

npm Build Status Renovate enabled

This package provides an ESLint config for the VI Company's JS coding style.

Why another config?

The eslint-config-vi is based on the eslint-config-airbnb-base config. That config is well maintained and we agree with most of the rules set. We extend the eslint-config-airbnb-base with our own rules.
The eslint-config-airbnb-base is defined as a peerDependency so it should be installed separately.

Installation

To make use of this config, install this package and its peerDepencies as a development dependencies of your project. eslint-config-airbnb-base also makes use of peerDependencies which also needs to be installed:

npx install-peerdeps eslint-config-vi
npx install-peerdeps eslint-config-airbnb-base -o

Usage

Create a .eslintrc.* config file:

.eslintrc.js

module.exports = {
  extends: 'vi'
};

.eslintrc.json

{
  "extends": "vi"
}

Configuration

The default vi config supports ES2015+ code and targets the browser.

Node.js

For Node.js development you can use the eslint-config-vi/node config:

.eslintrc.js

module.exports = {
  extends: 'eslint-config-vi/node'
};

Changelog

Read the Changelog

License

MIT © VI Company

Keywords

FAQs

Last updated on 29 Mar 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc