3.0.0-beta.7 • Published 7 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-cliUsing npm:
$ npm install --save-dev methane-plugin-cs-cliUsage
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 **/*.jsAll 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
7 years ago
3.0.0-beta.5
7 years ago
3.0.0-beta.4
7 years ago
3.0.0-beta.3
7 years ago
3.0.0-beta.2
7 years ago
3.0.0-beta.1
8 years ago
3.0.0-beta.0
8 years ago
1.0.0-4
8 years ago
1.0.0-3
8 years ago
1.0.0-2
8 years ago
1.0.0-1
8 years ago
1.0.0-0
8 years ago