eslint-config-simplabs
v0.4.0
Published
Shareable ESLint config for all simplabs projects
Downloads
6,862
Maintainers
Readme
eslint-config-simplabs
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 rulesplugins
– Default settings for rules from other ESLint pluginsconfigs
– Combination ofrules
andenv
and parser settings
Configs
ember
– Default settings for Ember apps (available assimplabs
too)ember-mocha
– Default settings for Mocha tests in Ember appsember-qunit
– Default settings for QUnit tests Ember appses6
– Default settings for ES6 codenode
– Default settings for Node.js codenode-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
ember
– Default settings for eslint-plugin-embermocha
– Default settings for eslint-plugin-mochaqunit
– Default settings for eslint-plugin-qunit
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.