Suave just got way suaver
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, runember generate ember-suave
to get one.