monorepo linting tool
Перейти к файлу
Ken Chau 2945e49a77 applying package updates 2020-12-15 17:22:23 +00:00
.github/workflows Prettier check for PRs 2020-09-18 10:24:52 -07:00
packages applying package updates 2020-12-15 17:22:23 +00:00
.gitignore Initial commit 2020-08-17 11:43:37 -07:00
.prettierignore Add Option To Exclude Files that Git Ignores (#51) 2020-11-13 14:23:07 -08:00
.prettierrc Create First ESLint Config Rule (#16) 2020-09-18 10:08:37 -07:00
CODE_OF_CONDUCT.md readme, license, CoC 2020-08-24 14:47:01 -07:00
CONTRIBUTING.md Initial project layout 2020-08-17 11:59:32 -07:00
LICENSE readme, license, CoC 2020-08-24 14:47:01 -07:00
README.md Update README 2020-09-30 15:44:39 -07:00
SECURITY.md readme, license, CoC 2020-08-24 14:47:01 -07:00
lerna.json Create Base Class from Which Config Rules Can Derive (#14) 2020-09-01 14:33:12 -07:00
package.json Typescript glob ignores .d.ts files. Fixes #45 2020-11-17 11:27:14 -08:00
yarn.lock Fix Ignore Test (#56) 2020-11-20 13:58:31 -08:00

README.md

boll

Lint the whole repo.

Getting started

Install

To install, add @boll/cli as a dev dependency to your package with your package manager of choice.

npm install --save-dev @boll/cli

Configure

Next, run the init command to generate a configuration file that will be used when boll runs.

npx boll init

This command will create a configuration file called .boll.config.js in your current directory, implementing the recoommended configuration by default. It should look like the following.

"use strict";
module.exports = {
  extends: "boll:recommended"
};

Run

To run boll, simply pass the run command.

npx boll run

If everything is configured successfully and your project contains no boll violations, the command will exit with no output and an exit status of 0.

Next steps

Learn about configuring, tweaking, or adding rules in the docs.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.