WandiParis/eslint-config-wandi


ESLint config

Language: JavaScript


eslint-config-wandi

Wandi ESLint configurations

Install

To install the configuration, you just have to run the following command :

npm install --save-dev eslint-config-wandi

How to use

In your ESLint configuration file (we assume you use JS format in this documentation, please refer to ESLint documentation to see other supported formats), add the following extends property :

module.exports = {
    extends: "wandi"
}

Development and production configurations

By default, the configuration is in development mode. In this mode, some rules just raise a warning even if they are critical in production. For example, when we are developing, we want to be able to do some console.loging.

To use the production configuration, use the following extends property :

module.exports = {
    extends: "wandi/prod"
}

Project Statistics

Sourcerank 5
Repository Size 8.79 KB
Stars 0
Forks 0
Watchers 3
Open issues 0
Dependencies 1
Contributors 1
Tags 7
Created
Last updated
Last pushed

Top Contributors See all

Cyrille Perois

Packages Referencing this Repo

@wandiparis/eslint-config-wandi
Wandi ESLint configuration
Latest release 2.0.0-alpha.1 - Updated
eslint-config-wandi
Wandi ESLint configuration
Latest release 1.2.0 - Updated

Recent Tags See all

v2.0.0-alpha.1 July 21, 2017
v2.0.0-alpha.0 July 03, 2017
v1.0.0 April 07, 2017
v1.1.2 February 10, 2017
v1.1.1 January 19, 2017
v1.1.0 January 19, 2017
1.1.0 January 19, 2017

Something wrong with this page? Make a suggestion

Last synced: 2017-08-12 10:13:42 UTC

Login to resync this repository