Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@renault-digital/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@renault-digital/eslint-config

Eslint config that follow Renault Digital coding style.

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

Renault Digital ESLint config

Build Status Npm Version

Installation

Using npm :

npm install --save-dev @renault-digital/eslint-config

Or using yarn :

yarn add --dev @renault-digital/eslint-config

Usage

Please follow configure ESLint for configuration.

The follow rules are available (you can combine them) :

  • @renault-digital : General JS rules
  • @renault-digital/common : Same as above
  • @renault-digital/node : Rules specific to NodeJS
  • @renault-digital/mocha : Rules specific to Mocha
  • @renault-digital/server : Group of rules for NodeJS application

A basic usage will be in a file .eslintrc.json:

{
  "extends": "@renault-digital/eslint-config"
}

And after :

yarn eslint .

Examples

Bellow are some recommended usage.

A common usage

.eslintrc.json:

{
  "extends": "@renault-digital/eslint-config"
}

A typical Server project with NodeJS and Mocha tests

.eslintrc.json:

{
  "extends": "@renault-digital/eslint-config/server"
}

Contribute

Proposing changes

Major changes should be discussed GitHub.

Semver policy

Same approach as in ESLint, see Semantic Versioning Policy.

Keywords

FAQs

Package last updated on 18 Jul 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

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