Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
✨ upgrade lint-staged to 12.3.3 because lint-staged/lint-staged#1091
Browse files Browse the repository at this point in the history
  • Loading branch information
chengcyber committed Feb 3, 2022
1 parent 67c535d commit ffbaacd
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 10 deletions.
22 changes: 13 additions & 9 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion rush-plugins/rush-lint-staged-plugin/README.md
Expand Up @@ -4,7 +4,8 @@ Rush plugin for lint-staged

# Prerequisite

Rush.js >= 5.57.0
- Rush.js >= 5.57.0
- Node >= 12

# Usage

Expand Down Expand Up @@ -94,6 +95,18 @@ You can run `rush lint-staged` now!
node common/scripts/install-run-rush.js lint-staged || exit $?
```

6. Add multiple lint-staged config files

For example,

```
monorepo-root
├── apps/my-app
| └── .lintstagedrc.json
└── libraries/my-lib
└── .lintstagedrc.json
```

ALL DONE! try `git add` some files and `git commit`!

# LICENSE
Expand Down

0 comments on commit ffbaacd

Please sign in to comment.