Licence
MIT
Version
1.0.2
Deps
3
Size
8 kB
Vulns
0
Weekly
0
sharec-editorconfig-hook
Allows to format your sharec configs with .editorconfig.
Usage
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,
}
How it works
The hook is looking for .editorconfig inside upcoming configs or inside a target project.