Skip to content

Commit ffb311d

Browse files
committed
Remove no from name
1 parent ae5b59a commit ffb311d

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
# noreassign
1+
# reassign
22

33
A linter that detects when reassigning a top-level variable in another package.
44

55
## Install
66

77
```bash
8-
go install github.com/curioswitch/go-noreassign
8+
go install github.com/curioswitch/go-reassign
99
```
1010

1111
## Usage
1212

1313
```bash
14-
noreassign ./...
14+
reassign ./...
1515
```
1616

1717
Change the pattern to match against variables being reassigned. By default, only `EOF` and `Err*` variables are checked.
1818

1919
```bash
20-
noreassign -pattern ".*" ./...
20+
reassign -pattern ".*" ./...
2121
```
2222

2323
## Background

analyzer.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
package noreassign
1+
package reassign
22

33
import (
4-
"github.com/curioswitch/go-noreassign/internal/analyzer"
4+
"github.com/curioswitch/go-reassign/internal/analyzer"
55
"golang.org/x/tools/go/analysis"
66
)
77

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"github.com/curioswitch/go-noreassign/internal/analyzer"
4+
"github.com/curioswitch/go-reassign/internal/analyzer"
55
"golang.org/x/tools/go/analysis/singlechecker"
66
)
77

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/curioswitch/go-noreassign
1+
module github.com/curioswitch/go-reassign
22

33
go 1.18
44

0 commit comments

Comments
 (0)