/ember-cli-tslint

Ember CLI addon for linting Ember projects with TSLint

Primary LanguageJavaScriptMIT LicenseMIT

ember-cli-tslint

Greenkeeper badge

TSLint for Ember CLI apps and addons

Installation

ember install ember-cli-tslint

ember-cli-tslint will remove ESLint from your current project and replace the config files with a new tslint.json file.

Usage

TSLint will be run by ember-cli-qunit automatically when you run ember test. ember-cli-mocha is not yet supported.

Config

You can pass broccoli-tslinter options in ember-cli-build.js like this:

module.exports = function(defaults) {
  var app = new EmberApp(defaults, {
    'ember-cli-tslint': {
      configuration: 'config/tslint.json'
    }
  });

Contributing

Installation

  • git clone <repository-url> this repository
  • cd ember-cli-tslint
  • yarn install

Running

Running Tests

  • yarn test (Runs ember try:each to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit https://ember-cli.com/.

License

This project is licensed under the MIT License.