Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
/ mrm-task-xo Public archive

Mrm task to add xo to your project.

License

Notifications You must be signed in to change notification settings

bdougherty/mrm-task-xo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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