Skip to content

Commit

Permalink
Merge pull request #15 from acaloiaro/make-pre-commit-4-compatible
Browse files Browse the repository at this point in the history
make pre commit 4 compatible
  • Loading branch information
acaloiaro authored Oct 10, 2024
2 parents c159867 + 47b3631 commit 52dff31
Show file tree
Hide file tree
Showing 4 changed files with 748 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
entry: ess
always_run: true
pass_filenames: false
stages: [commit]
stages: [pre-commit]
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ users.users.<USERNAME>.packages = [
];
```

Or simly run directly
Or simply run directly
```bash
nix run github:acaloiaro/ess
```
Expand Down Expand Up @@ -171,7 +171,7 @@ See [pre-commit configuration examples](#pre-commit-configuration-examples) for
It's important to document the environment variables required to run applications, both in production and development. A
great way to do so is with `env.sample` files, but sample files tend to get out of date very quickly.

For example, let's say you're adding a new feature to your application and it requires the variable `FOO` to be set.
For example, let's say you're adding a new feature to your application, and it requires the variable `FOO` to be set.
While you're developing locally, you likely have a `.env` file that looks something like:

```bash
Expand Down Expand Up @@ -230,7 +230,7 @@ repos:

### Customize variable example values

Sometimes environment variables need to conform to specific formats and it's necessary to provide better documentation.
Sometimes environment variables need to conform to specific formats, and it's necessary to provide better documentation.
For this reason, environment variable examples may be provided in lieu of the default behavior, which is to use the
environment variable name surrounded by `<brackets like this>` in sample files.

Expand Down
Loading

0 comments on commit 52dff31

Please sign in to comment.