redlint
v5.0.4
Published
Lint Filesystem with 🐊Putout
Downloads
3,255
Maintainers
Readme
Redlint

Karna is the goddess of retribution, a strict and fair Judge in whose hands is the Book of Fates. In this book she records all the deeds and actions of people. Karna works together with the goddess Makosh. Makosh weaves the destinies of people in accordance with the records of the goddess Karna.
(c) The Book of Kon, PoKon and ZaKon
What if Filesystem was a simple JSON file .filesystem.json. What if you can transform JSON file with 🐊Putout code transformer and this changes modify Filesystem?
What if I tell you it is possible? 😱 Checkout in 🐊Putout Editor.
First time ever! Linter for your Filesystem 😏💾.
Install
npm i redlint -gChoose
You can choose interactively when run redlint:
Scan
To scan your files use redlint scan:
Convert
To convert file to JSON or JavaScript use:
Fix
To fix your files use redlint fix:
Generate
You can also generate .filesystem.json file with putout generate.
How to add a new rule?
To add new rule create-file located in plugin custom for RedLint write a new 🐊Putout rule Scanner. And add it to .putout.json:
{
"match": {
".filesystem": {
"custom/create-file": "on"
}
}
"plugins": [
"custom"
]
}License
MIT
