npm.io
1.0.1 • Published 7 years ago

@fourdigit/editorconfig-config-fourdigit

Licence
MIT
Version
1.0.1
Deps
0
Size
3 kB
Vulns
0
Weekly
146
Stars
1
Install scriptsThis package runs scripts during installation (preinstall/install/postinstall)

Sharable EditorConfig for FOURDIGIT

npm

Installation

// yarn
yarn add --dev @fourdigit/editorconfig-config-fourdigit

// npm
npm install --save-dev @fourdigit/editorconfig-config-fourdigit

Usage

EditorConfig doesn't natively support sharing or extending configuration (see https://github.com/editorconfig/editorconfig/issues/236). As a stop-gap, we adopt postinstall script. Automatically install the file .editorconfig if your project not contain it.

Update .editorconfig

When you want to update your editorconfig manually, please run following command.

cp ./node_modules/@fourdigit/editorconfig-config-fourdigit/.editorconfig .editorconfig