1.0.1 • Published 6 years ago

mrm-task-xo v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

mrm-task-xo

Build Status

Mrm task that adds xo.

What it does

  • Updates the npm test script to run xo
  • Adds specified configuration to package.json
  • Installs xo

Usage

mrm xo
mrm xo --config:xoExtends=bdougherty --config:xoExtends=foo

Options

xoSpace (optional, default: false)

Set it to true to get 2-space indentation or specify the number of spaces.

This option is set automatically if you have the indent option set in your mrm config.

This option exists for pragmatic reasons, but I would strongly recommend you read “Why tabs are superior”.

xoSemicolon (optional, default: true)

Set it to false to enforce no-semicolon style.

xoPlugins (optional)

Include third-party plugins.

xoExtends (optional)

Use one or more shareable configs or plugin configs to override any of the default rules.

License

MIT © Brad Dougherty