Skip to content

sharecjs/sharec-editorconfig-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sharec-editorconfig-hook

Sharec logo by Ivashkina Xenia <xeniaowl112@mail.ru>

.github/workflows/main.yml npm MIT License

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.

About

🎨 Format your sharec configs with editorconfig

Resources

Stars

Watchers

Forks

Packages

No packages published