Skip to content

A set of configurable ESLint configurations used in Meetic projects.

Notifications You must be signed in to change notification settings

Meetic/eslint-config-meetic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-meetic

NPM version Build Status Code Climate

A set of configurable ESLint configurations used in Meetic projects.

Installation

Install this config package and ESLint:

$ npm install --save-dev eslint-config-meetic

Usage

This set of configs is meant to be extended on a per-project basis as necessary using ESLint's shareable configs feature. For more details about how shareable configs work, see the ESLint documentation.

This package includes the following full configurations:

  • meetic - The default ES6 config
  • meetic/configurations/es5 - The default ES5 config
  • meetic/configurations/es6 - The default ES6 config

The default configuration assumes ECMAScript-6. To extend a config in ESLint just add the extends attribute to your .eslintrc:

{
  "extends": "meetic"
}

If your project is written in ECMAScript-5, you can extend with the ES5 subset of configuration:

{
  "extends": "meetic/configurations/es5"
}

This ruleset enforces neither env nor globals settings. They are meant to be set individually on every project.

License

MIT License