Skip to content

Commit

Permalink
Remove limitation that isn't there anymore and add Development sectio… (
Browse files Browse the repository at this point in the history
#7)

…n to README
  • Loading branch information
chokoswitch authored Oct 24, 2022
1 parent e97fbfb commit 5a672ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ Package variable reassignment is generally confusing, though, and we recommend a
The `pattern` flag can be set to a regular expression to define what variables cannot be reassigned, and `.*` is
recommended if it works with your code.

## Limitations
## Development

If a variable shadows the name of an import, an assignment of a field in the variable will trigger the linter. Shadowing
can be confusing, so it's recommended to rename the variable.
[mage](https://magefile.org/) is used for development. Run `go run mage.go -l` to see available targets.

For example, to run checks before sending a PR, run `go run mage.go check`.

0 comments on commit 5a672ff

Please # to comment.