Package detail

eslint-config-simplabs

simplabs14.6kMIT0.4.0

Shareable ESLint config for all simplabs projects

ember-addon, eslint, eslintconfig

readme

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.

changelog

Changelog

0.4.0 (2017-03-02)

:rocket: Enhancements

  • Update "eslint-plugin-ember" to v3.0.1

:bug: Bug Fixes

  • blueprint: Install ESLint plugins if versions are incompatible

0.3.1 (2017-03-02)

:rocket: Enhancements

  • #16 Update dependencies (@greenkeeper)
  • Add "gk-ignore-eslint-plugins" blueprint

:bug: Bug Fixes

  • blueprints: Install plugins with explicit version constraints

0.3.0 (2017-02-02)

:rocket: Enhancements

  • #7 blueprints: Detect "ember-cli-mocha" automatically (@Turbo87)
  • #8 Add support for "eslint-plugin-mocha" (@Turbo87)
  • #9 Add support for "eslint-plugin-qunit" (@Turbo87)
  • #10 Add support for "eslint-plugin-ember" (@Turbo87)
  • #11 blueprints: Ask user to confirm "eslint --fix" execution (@Turbo87)
  • #13 blueprints: Use "--color" for ESLint output if the environment supports it (@Turbo87)
  • #14 blueprints: Invoke "npm install" only when needed (@Turbo87)
  • #15 Update README (@Turbo87)

:bug: Bug Fixes

  • rules/ember: Fix typo

:house: Internal Changes

  • #12 rules: Move plugin rulesets into "plugins" folder (@Turbo87)

0.2.2 (2017-02-01)

:rocket: Enhancements

  • #4 Improved eslint-config-simplabs blueprint (@Turbo87)

0.2.1 (2017-02-01)

:bug: Bug Fixes

  • configs/es6: Add missing "es6" globals

0.2.0 (2017-01-31)

:rocket: Enhancements

  • Explicitly set all options
  • Add "eslint-config-simplabs" blueprint
  • Add "ember-qunit" and "ember-mocha" configs
  • configs/ember: Set parser options
  • configs: Extract "base" and "node-0.x" config
  • config/ember-mocha: Disable "prefer-arrow-callback" rule
  • rules: Enable more "best-practices" rules
  • rules: Enable more "variables" rules
  • rules: Enable more "node" rules
  • rules: Enable more "style" rules
  • rules: Enable more "es6" rules
  • configs: Set "ecmaVersion" parser option in "es6" config
  • rules/style: Adjust "key-spacing" options
  • blueprints: Add "tests" config

:house: Internal Changes

  • Extract rule categories into separate files
  • Move configuration file into new "configs" subfolder
  • Extract "es6" and "node" configs

0.1.0 (2017-01-27)

  • Initial release