Socket
Socket
Sign inDemoInstall

eslint-config-ovh

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-ovh

Official OVH rules for ESLint.


Version published
Weekly downloads
5
decreased by-37.5%
Maintainers
2
Weekly downloads
 
Created
Source

OVH component

eslint-config-ovh

Official OVH rules for ESLint.

NPM

:construction: This configuration is under active discussions, so some of our projects do not yet use this configuration

Getting Started

Installation

Just install ESLint with the OVH config: npm install --save-dev eslint eslint-config-ovh

Howto's

Creates an .eslintrc.json in your project, and specify the config that you want to use:

{
    "extends": "ovh"
}

Documentation

Default configuration

  • ovh: shortcut for ovh/configs/es6 (see below)

ES6 configuration

These configurations depends of babel-eslint.

  • ovh/configs/es6: ES6
  • ovh/configs/es6-browser: ES6 + browser
  • ovh/configs/es6-browser-test: ES6 + test (browser)
  • ovh/configs/es6-node: ES6 + node >= 6.x.x
  • ovh/configs/es6-node-test: ES6 + test (node)

ES5 configuration

  • ovh/configs/es5: ES5
  • ovh/configs/es5-browser: ES5 + browser
  • ovh/configs/es5-browser-test: ES5 + test (browser)
  • ovh/configs/es5-node: ES5 + node < 6.x.x
  • ovh/configs/es5-node-test: ES5 + test (node)

License

See LICENSE file.

Keywords

FAQs

Package last updated on 20 Jun 2017

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc