npm.io
1.6.3 • Published 5 months agoCLI

node-editorconfig

Licence
MIT
Version
1.6.3
Deps
0
Size
8 kB
Vulns
0
Weekly
0

node-editorconfig

A generic .editorconfig for Node JS projects

Usage

Method 1: Without installing

$ cd /path/to/your/project/

$ npx node-editorconfig
  <OR>
$ npx --min-release-age=0 node-editorconfig@latest --overwrite

Method 2: With --global installation

$ npm install --global node-editorconfig

$ cd /path/to/project/

$ node-editorconfig
 ✔ .editorconfig file added at /path/to/project/.editorconfig

Parameters

--overwrite (To overwrite the .editorconfig file, if it already exists)

$ npx node-editorconfig --overwrite
 ✔ .editorconfig file overwritten at /path/to/project/.editorconfig

--version / -v (Show the installed package version)

$ npx node-editorconfig --version
1.2.3

--help / -h (Show usage help)

$ npx node-editorconfig --help
... Usage Instructions ...

About this project

Author

Connect with us

License

Keywords