ember-cli-remark
v1.1.0
Published
Ember wrapper for remark-lint.
Downloads
6
Readme
ember-cli-remark
Ember wrapper for remark-lint.
Information
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 ifember-qunit
/ember-cli-qunit
orember-mocha
/ember-cli-mocha
are used, but can also be set toqunit
andmocha
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