You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update a `. editorconfig` file based on a template and preferences. This updater can be used from the command line when installed globally, or as a plugin in other updaters.
Update or add a .editorconfig in the current working directory using a template defined by you in ~/templates, or generic one if a custom template is not defined. This is an Updateupdater, which can be run from the command line when Update is installed globally, or used as a building block for creating other updaters.
Update is a new, open-source developer framework for automating updates of any kind to code projects. All actual updating is done plugins called "updaters", like this one.
Updaters can be run from the command line when Update's CLI is installed globally, or they can be used as building blocks for creating other updaters.
Most updaters do one specific thing. This updater replaces the .editorconfig file in the current working directory with a template defined by you in ~/templates/_editorconfig (user home on your system).
Or, if you haven't defined a custom template, the file in this project's templates directory will be used.
Getting started
Install
Install update
If you haven't already installed update globally, you can do that now with the following command:
$ npm install --global update
This adds update to your system path, allowing it to be run from any directory.
Install updater-editorconfig
Install this module with the following command:
$ npm install --global updater-editorconfig
Usage
Make sure your work is committed, then run the updater's defaulttask with the following command:
$ update editorconfig
What will happen?
Upon running $ update editorconfig command, this updater's default task will be executed, which replaces the .editorconfig file in the cwd with the ~/templates/_editorconfig template defined by you, or the default templates found ing templates/_editorconfig in this repository.
(Note that all dotfile templates are prefixed with _ to prevent programs from mistaking them as real files)
This file was generated by verb, v0.9.0, on July 21, 2016.
About
Update a `. editorconfig` file based on a template and preferences. This updater can be used from the command line when installed globally, or as a plugin in other updaters.