Ensures super stylish code by enforcing the DockYard JavaScript and Ember style guide rules.
- ember-cli >= 0.2.3
ember install ember-suave
- ember-cli < 0.2.3
ember install:addon ember-suave
ember-suave
comes preconfigured with DockYard-curated JSCS rules
so that all you need to do is install the addon and start writing stylish code.
If ember-suave
isn't suave enough for you and you'd like to override
certain rules, simply provide your own .jscsrc
file at the root of
your Ember CLI project. Those rules will be merged with the ones in the
default config.
You can specify any of the rules that are built into JSCS, or even provide your own custom ones.
To disable a rule, set its value to null
.
// .jscsrc
{
"additionalRules": ["lib/rules/*.js"],
"myAwesomeCustomRule": true,
"disallowDanglingUnderscores": true,
"disallowEmptyBlocks": null
}
git clone
this repositorynpm install
npm test
This library follows Semantic Versioning.
DockYard, Inc © 2015