This repository has been archived by the owner on Sep 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
03cffc8
commit 4036b62
Showing
1 changed file
with
15 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
# inv-lint | ||
> Invisible Technologies Eslint Package | ||
# Setup | ||
# Install | ||
|
||
1. Add `WEBHOOK_PATH` environmental variable to your project on circleCI. | ||
``` | ||
yarn add -D invisible-tech/inv-lint | ||
# or | ||
npm install -D invisible-tech/inv-lint | ||
``` | ||
|
||
To do this you will have to: | ||
|
||
- Go to `https://circleci.com/gh/invisible-tech/<your-project-name>/edit#env-vars` (replace \<your-project-name\>, e.g. gear) | ||
- Click on `Import Variable(s)`. | ||
- Select `WEBHOOK_PATH`. | ||
- If you don't have permission to do that, ask your superior to do it! | ||
# Usage | ||
|
||
1. Add `inv-lint` to your lint script on `package.json` | ||
```json | ||
// It should look something like: | ||
"lint": "inv-lint", | ||
"pretest": "yarn run lint", | ||
``` |