Socket
Socket
Sign inDemoInstall

mrm-task-xo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mrm-task-xo

Mrm task to add xo to a project.


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 30 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc