A set of configurable ESLint configurations used in Meetic projects.
Clone or download
Pull request Compare This branch is 20 commits behind Meetic:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
configurations
rules
.editorconfig
.eslintrc.js
.gitignore
.travis.yml
README.md
package.json

README.md

eslint-config-meetic

NPM version Build Status Code Climate

A set of configurable ESLint configurations used in Meetic projects.

Lead maintainer: Jean-Christophe Honde

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