mrm-task-xo

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i mrm-task-xo

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

4.28 kB

Total Files

4

Last publish

Collaborators

  • bdougherty