We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52306d5 commit 2774b4cCopy full SHA for 2774b4c
docs/new-linter.md
@@ -132,7 +132,9 @@ Basic tests can be implemented with the Go analysis test framework.
132
Create a `testdata` directory in the linter package and create a structure underneath.
133
Individual test files must be placed under `src` and then a subdirectory for each package.
134
135
-Use one package per configuration input for the linter.
+If your linter has different configurations, eg options to pass to the linter
136
+you will need one configuration per option. Use one package per configuration
137
+input for the linter.
138
139
```
140
mylinter
0 commit comments