Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

BBVAEngineering/ember-cli-remark

Repository files navigation

DEPRECATED

ember-cli-remark

Build Status GitHub version npm version Dependency Status

Ember wrapper for remark-lint.

Information

NPM

Installation

ember install ember-cli-remark

After installation, configure your rules using the .remarkrc file as shown in Remarks's configuration.

Furthermore, a .remarkignore file can be used to exclude files from linting while the linter is running. Its syntax is identical to .gitignore files.

Usage

Remark will be run by ember-cli-qunit or ember-cli-mocha automatically when you run ember test. If Remark is not being run automatically, try updating your ember-cli and/or remark dependencies.

Configuration

ember-cli-remark can be configured through the ember-cli-remark (and remark property) key in your ember-cli-build.js file:

const app = new EmberApp(defaults, {
  ember-cli-remark: {
    testGenerator: 'qunit',
    remark: {
      quiet: true
    }
  }
});
  • testGenerator is automatically detected if ember-qunit/ember-cli-qunit or ember-mocha/ember-cli-mocha are used, but can also be set to qunit and mocha manually.

  • remark: Options avaliable in unified-engine docs.

Contribute

If you want to contribute to this addon, please read the CONTRIBUTING.md.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details