Naughty Program Manipulator


    2.3.0 • Public • Published


    Build Status Dependency Status devDependency Status Coverage Status

    This is a JSCS plugin to include errors for features that are deprecated in Ember.js


    npm install jscs-ember-deprecations --save-dev

    You'll also need to tell JSCS to load the plugin. Modify your .jscsrc file to include

    // ...

    If you invoke JSCS with --fix (see some deprecation errors can be fixed automatically.

    See Supported deprecations for valid keys


    Migrating to a newer Ember version can be tricky if you haven't already gone back and removed all uses of deprecated features. Instead, this plugin intends to enable a migration path in a codebase, where developers can be warned when they use deprecated features.

    A sample use case is to:

    • Use a tool like Lint Review to automagically annotate pull requests. Developers will be warned if they're using a feature that is deprecated. Put these "aspirational" rules in .toolbot_jscsrc
    • Use broccoli-jscs so that JSCS gets run at the same time you're running unit tests. Put rules that are "mandatory" in your codebase's .jscsrc. Any violations of those rules will result in the test suite failing.

    This way a codebase can be gradually brought into compliance over time.

    Supported deprecations

    Deprecations added in Ember 1.11

    Deprecations added in Ember 1.12

    Deprecations added in Ember 1.13

    Deprecations added in Ember 2.0

    None. Ember 2.0 removed support for the above deprecations.

    Deprecations added in Ember 2.1

    Other Ember best practices

    Deprecations added in Ember 2.3


    This library is lovingly brought to you by @minichate. It is released under the MIT license.



    npm i jscs-ember-deprecations

    DownloadsWeekly Downloads






    Last publish


    • markstory
    • minichate