1.1.0 • Published 1 year ago

beria v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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-dev or yarn beria -D
  • create beria.config.json config 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.
  • --config

    By default package looks for default beria.config.json config file inside project folder. You can set another path to Your config file. Example: --config=myfolder/conf.json

  • --onlyWarning

    By default, programm exist with error status if search was successful. The option disable this behavior.

1.1.0

1 year ago

1.0.0

1 year ago

0.0.16

2 years ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago