xo-editorconfig

0.0.3 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i xo-editorconfig

      Weekly Downloads

      4

      Version

      0.0.3

      License

      ISC

      Last publish

      Collaborators

      • adriantoine