Skip to content

Suave just got way suaver

Compare
Choose a tag to compare
@brzpegasus brzpegasus released this 15 Oct 16:18
· 84 commits to master since this release

With the added support for JSCS presets, managing ember-suave default rules and your own custom configuration just got a whole lot easier. Your project's .jscsrc file only needs to look like this:

{
  "preset": "ember-suave"
}

or this, if you want to customize some rules:

{
  "preset": "ember-suave",
  "additionalRules": ["./lib/rules/*.js"],
  "myAwesomeCustomRule": true,
  "disallowEmptyBlocks": null
}

This means better integration with custom editors as well. Please review the README for more info.

Many thanks to @rwjblue for making this happen!

Upgrading

  • If you already have a custom .jscsrc file, simply add "preset": "ember-suave".
  • If you don't already have a .jscsrc file in your project, run ember generate ember-suave to get one.