3.0.0-beta.7 • Published 6 years ago
methane-plugin-cs-cli v3.0.0-beta.7
methane-plugin-cs-cli
Pass your custom code style via CLI arguments.
Installation
You don't need to install this plugin manually, and it will be installed once you installed
methane
.
Using Yarn:
$ yarn add --dev methane-plugin-cs-cli
Using npm:
$ npm install --save-dev methane-plugin-cs-cli
Usage
Just install this plugin and methane will load this plugin automatically.
Next, you can pass code style options through CLI like this:
$ ch4 --semi
$ ch4 --semi --fix
$ ch4 --use-tab --fix **/*.js
All available options:
--indent <type> Specify indent type.
It only can be 'tab' or a number (for spaces).
--use-tab Use tab for indentation.
--semi Add semicolons.
--linebreak <type> Specify linebreak style.
It only can be 'lf' or 'crlf'.
--quotes <type> Specify quotes type.
It only can be 'single' or 'double'.
--double-quotes Use double quotes.
3.0.0-beta.7
6 years ago
3.0.0-beta.5
6 years ago
3.0.0-beta.4
6 years ago
3.0.0-beta.3
6 years ago
3.0.0-beta.2
6 years ago
3.0.0-beta.1
6 years ago
3.0.0-beta.0
6 years ago
1.0.0-4
6 years ago
1.0.0-3
6 years ago
1.0.0-2
6 years ago
1.0.0-1
6 years ago
1.0.0-0
6 years ago