4.2.0 • Published 2 years ago
@secretlint/config-validator v4.2.0
@secretlint/config-validator
.secretlintrc config validation library
Install
Install with npm:
npm install @secretlint/config-validator
Usage
import { validateRawConfig } from "@secretlint/config-validator";
import fs from "fs";
const secretlintrc = require("./.secretlintrc.json");
const { ok, error } = validateRawConfig(secretlintrc);
if (!ok) {
console.error(error);
}
Changelog
See Releases page.
Running tests
Install devDependencies and Run npm test
:
npm test
Contributing
Pull requests and stars are always welcome.
For bugs and feature requests, please create an issue.
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Author
License
MIT © azu
4.2.0
2 years ago
4.1.3
3 years ago
3.3.1-next.19
3 years ago
4.0.0
3 years ago
3.3.0
3 years ago
3.1.0
3 years ago
3.0.0
3 years ago
2.2.0
3 years ago
2.1.1
4 years ago
2.1.0
4 years ago
2.0.0
4 years ago
1.1.0
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.10.0
4 years ago
0.10.1
4 years ago
0.9.2
4 years ago
0.7.1
4 years ago
0.7.0
4 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.2.0
4 years ago
0.1.0
4 years ago