eslint-config-simplabs

0.4.0 • Public • Published

eslint-config-simplabs

Latest NPM release TravisCI Build Status

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.

Package Sidebar

Install

npm i eslint-config-simplabs

Weekly Downloads

2,529

Version

0.4.0

License

MIT

Last publish

Collaborators

  • mainmatter