0.0.3 • Published 10 years ago

xo-editorconfig v0.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
10 years ago

CLI to create a basic .editorconfig file compatible with the syntax enforce by XO.

Install

$ npm install xo-editorconfig -g

Run

$ xo-editorconfig

".editorconfig" file generated

An .editorconfig file is in your folder!

Why?

Most of editors have a Genrate command to generate an .editorconfig file based on your current settings. In my case, I have many projects using a lot of different styles. I want to use XO on all my new projects but I couldn't use the Generate command because my current settings are the ones set for my company projects, so it would generate an editor config file using 4-space indentation...

In the end I had to copy an .editorconfig file around to all my new projects which ends up being quite tedious. This CLI tool solves my problem.

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago