node-editorconfig
A generic .editorconfig for Node JS projects
Usage
Method 1: Without installing
$ cd /path/to/project/
$ npx node-editorconfig
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