mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-06-10 18:23:12 +08:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f3f63dee4e |
@@ -15,7 +15,7 @@ paths:
|
|||||||
Configure project-local hooks to prefer binstubs and checked-in tooling:
|
Configure project-local hooks to prefer binstubs and checked-in tooling:
|
||||||
|
|
||||||
- **RuboCop**: run `bundle exec rubocop -A <file>` or the project's safer formatter command after Ruby edits.
|
- **RuboCop**: run `bundle exec rubocop -A <file>` or the project's safer formatter command after Ruby edits.
|
||||||
- **Brakeman**: run `bundle exec brakeman --no-pager` after security-sensitive Rails changes.
|
- **Brakeman**: run `bundle exec brakeman --no-progress` after security-sensitive Rails changes.
|
||||||
- **Tests**: run the narrowest matching `bin/rails test ...` or `bundle exec rspec ...` command for touched files.
|
- **Tests**: run the narrowest matching `bin/rails test ...` or `bundle exec rspec ...` command for touched files.
|
||||||
- **Bundler audit**: run `bundle exec bundle-audit check --update` when `Gemfile` or `Gemfile.lock` changes and the project has bundler-audit installed.
|
- **Bundler audit**: run `bundle exec bundle-audit check --update` when `Gemfile` or `Gemfile.lock` changes and the project has bundler-audit installed.
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ Configure project-local hooks to prefer binstubs and checked-in tooling:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
bundle exec rubocop
|
bundle exec rubocop
|
||||||
bundle exec brakeman --no-pager
|
bundle exec brakeman --no-progress
|
||||||
bin/rails test
|
bin/rails test
|
||||||
bundle exec rspec
|
bundle exec rspec
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ paths:
|
|||||||
- Run dependency checks when the lockfile changes:
|
- Run dependency checks when the lockfile changes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
bundle audit check --update
|
bundle exec bundle-audit check --update
|
||||||
bundle exec brakeman --no-pager
|
bundle exec brakeman --no-progress
|
||||||
```
|
```
|
||||||
|
|
||||||
- Review new gems for maintainer activity, native extension risk, transitive dependencies, and whether the same behavior can be implemented with Rails core.
|
- Review new gems for maintainer activity, native extension risk, transitive dependencies, and whether the same behavior can be implemented with Rails core.
|
||||||
|
|||||||
Reference in New Issue
Block a user