# Ember jscs preset for code style—suitable for projects?

**URL:** <https://discuss.emberjs.com/t/ember-jscs-preset-for-code-style-suitable-for-projects/9250>\
**Category:** Design\
**Created:** [December 6, 2015, 6:43pm UTC](https://discuss.emberjs.com/t/ember-jscs-preset-for-code-style-suitable-for-projects/9250 "2015-12-06T18:43:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rrh](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/rrh/32/11843_2.png) [@rrh](https://discuss.emberjs.com/u/rrh)\
**Post date:** [December 6, 2015, 6:43pm UTC](https://discuss.emberjs.com/t/ember-jscs-preset-for-code-style-suitable-for-projects/9250/1 "2015-12-06T18:43:47Z")

</div>

Hi,

`ember-cli` by default generates `.jshintrc` and other config files. I noticed that Ember has also [`.jscsrc`](https://github.com/emberjs/ember.js/blob/master/.jscsrc).

After reading [Principles of Writing Consistent, Idiomatic JavaScript](https://github.com/rwaldron/idiomatic.js) I thought that enforcing consistency would make me ‘forget’ about ‘reminders’ or ‘prompting’ to adhere to some rules on the project I’m working on.

[jscs presets](http://jscs.info/overview) list some popular configurations. My question is: is Ember code style preset suitable for ‘regular’ Ember project, or it is strictly for development?

If you were successful with other presets, let me know.

BTW. just found this:

> **[jscs-ember-deprecations](https://www.npmjs.com/package/jscs-ember-deprecations)**
>
> Ember deprecation warnings for JSCS. Latest version: 2.3.0, last published: 6 years ago. Start using jscs-ember-deprecations in your project by running \`npm i jscs-ember-deprecations\`. There is 1 other project in the npm registry using...

---

<div class="post-metadata">

**Author:** ![rwjblue](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/rwjblue/32/9411_2.png) [@rwjblue](https://discuss.emberjs.com/u/rwjblue)\
**Post date:** [December 6, 2015, 7:00pm UTC](https://discuss.emberjs.com/t/ember-jscs-preset-for-code-style-suitable-for-projects/9250/2 "2015-12-06T19:00:54Z")

</div>

I would suggest using ember-suave as your preset (but I’m biased 😃 ).

---

<div class="post-metadata">

**Author:** ![rrh](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/rrh/32/11843_2.png) [@rrh](https://discuss.emberjs.com/u/rrh)\
**Post date:** [December 8, 2015, 7:34pm UTC](https://discuss.emberjs.com/t/ember-jscs-preset-for-code-style-suitable-for-projects/9250/3 "2015-12-08T19:34:23Z")

</div>

Thanks! Definitely the setup was faster (without copying libs from Ember.js custom rules) 😄

---

<div class="post-metadata">

**Author:** ![rrh](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.emberjs.com/rrh/32/11843_2.png) [@rrh](https://discuss.emberjs.com/u/rrh)\
**Post date:** [January 9, 2016, 2:54pm UTC](https://discuss.emberjs.com/t/ember-jscs-preset-for-code-style-suitable-for-projects/9250/4 "2016-01-09T14:54:58Z")

</div>

@rwjblue Maybe you will find my article interesting—[Emberocop to safeguard your code—intro](http://ryrych.pl/2015/12/21/emberocop-to-safe-guard-your-code-intro.html). This is the intro to the article series about **linting tools**.

Second article, _Tools to keep code in order—Code Style Guide With JSCS_ is to be published next week. 🙂
