beria v1.1.0
Beria 🦅
Витя, получишь пизды, если будешь использовать margin-top.
npm package for scanning files and searching content by strings/substrings/chars/regExp.
Intro
The most relevant usage is looking for "forbidden" text/code in Your project.
For example, Your team agreed don't use padding or margin in Your CSS/Scss/Sass files, but someone still uses it. Beria will scan Your project and find this "forbidden" content.
The most practical use with pre-commit git hooks.
Quick start
- install package using
npm i beria --save-devoryarn beria -D - create
beria.config.jsonconfig file inside root directory - run
npx beria
Config file examples
Options
You should know that CLI options have higher priority than options from the config file.
--configBy default package looks for default
beria.config.jsonconfig file inside project folder. You can set another path to Your config file. Example:--config=myfolder/conf.json--onlyWarningBy default, programm exist with error status if search was successful. The option disable this behavior.