Allows to format your sharec configs with .editorconfig
.
Install the hook:
npm i --save-dev sharec-editorconfig-hook
# or with yarn
yarn add -D sharec-editorconfig-hook
Create .sharecrc.js
file in your project with following content:
const editorconfigHook = require('sharec-editorconfig-hook')
module.exports = {
afterMerge: editorconfigHook,
}
The hook is looking for .editorconfig
inside upcoming configs or inside a target project.