eslint-config-simplabs

Shareable ESLint config for all simplabs projects

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
eslint-config-simplabs
120.4.06 years ago6 years agoMinified + gzip package size for eslint-config-simplabs in KB

Readme

eslint-config-simplabs
!Latest NPM releasenpm-badgenpm-badge-url !TravisCI Build Statustravis-badgetravis-badge-url
Shareable ESLint config for all simplabs projects

Installation

ember install eslint-config-simplabs

or if you don't use Ember.js in your project:
npm install --save-dev eslint-config-simplabs

Usage

Use the following snippet in your .eslintrc.js file to enable some of the rulesets in this project:
extends: [
  'simplabs',
  'simplabs/plugins/ember',
],

Please note that if you used ember install above this will be done automatically for you.
There are three different kinds of things in this project:
  • rules – Default settings for all builtin categories of ESLint rules
  • plugins – Default settings for rules from other ESLint plugins
  • configs – Combination of rules and env and parser settings

Configs

  • ember – Default settings for Ember apps (available as simplabs too)
  • ember-mocha – Default settings for Mocha tests in Ember apps
  • ember-qunit – Default settings for QUnit tests Ember apps
  • es6 – Default settings for ES6 code
  • node – Default settings for Node.js code
  • node-0.x – Default settings for code supporting Node 0.10 and 0.12

These configs can be used by extending simplabs/configs/<config-name>.

Plugins


These plugin settings can be used by extending simplabs/plugins/<plugin-name>.

License

eslint-config-simplabs is developed by and © simplabs GmbH and contributors. It is released under the MIT License.