2.0.0 • Published 8 years ago

eslint-config-netguru-ember v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
8 years ago

eslint-config-netguru-ember

ESlint shareable config for eslint-plugin-netguru-ember

Summary

It's a shareable config that extends AirBnB Config with rules from our eslint-plugin-netguru-ember. This is recommended by us config for any Ember Application. It assures that your code is in great shape and that you're following all good standards from AirBnB's JavaScript Styleguide and our Ember Styleguide.

Requirements

You need to have ember-cli-eslint installed in your app. More info here.

Usage

1. Install all dependencies by simply pasting code below in your terminal
(
  export PKG=eslint-config-netguru-ember;
  npm info "$PKG" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG"
)

This command will basically produce and call something like this:

npm install --save-dev eslint-config-netguru-ember eslint-plugin-netguru-ember@1.x eslint-config-airbnb-base@^7.1.0 eslint-plugin-import@^1.15.0
2. Change your .eslintrc, so it looks like this:
  extends: netguru-ember

You can find more informations about rules we provide here.

All rules and settings from index.js can be overriden in your .eslintrc. So if you for example want to disable the rule netguru-ember/local-modules your .eslintrc should look like this:

  extends: netguru-ember
  rules:
    netguru-ember/local-modules: 0
2.0.0

8 years ago

1.3.0

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago