// yarn
yarn add --dev @fourdigit/editorconfig-config-fourdigit
// npm
npm install --save-dev @fourdigit/editorconfig-config-fourdigit
EditorConfig doesn't natively support sharing or extending configuration (see editorconfig/editorconfig#236). As a stop-gap, we adopt postinstall script. Automatically install the file .editorconfig if your project not contain it.
When you want to update your editorconfig manually, please run following command.
cp ./node_modules/@fourdigit/editorconfig-config-fourdigit/.editorconfig .editorconfig