CLI toolbox for common scripts across kudobuzz
We have quite a number of js projects and we were finding it difficult updating tooling across these projects
A common configuration library
Table of Contents
This module is distributed via [npm][npm] which is bundled with [node][node] and
should be installed as one of your project's
npm install --save-dev @kudobuzz/kbscripts
Install my running
npm install @kudobuzz/kbscripts
kbscripts lint [Specific files can go here and args for eslint]
Lints all js files in the target project.
kbscripts format [Specific files can go here and other args to prettier]
Format all js,md,ts,css files in the target project.
kbscripts test [Specific files can go here and other args to mocha]
Runs mocha on all *.test.js files in the target project. Tests are run recursively.
Using eslint configs to allow ides to use your configs
- create .eslintrc.js
- exports config from kbscripts
module.exports = require('./node_modules/@kudobuzz/kbscripts/config/eslintrc.js')