Skip to content

Commit 4a8cb46

Browse files
alexandearccojocar
authored andcommitted
Do not allow dashes in file names
1 parent bcc8afb commit 4a8cb46

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ linters:
2424
rules:
2525
- name: dot-imports
2626
disabled: true
27+
- name: filename-format
28+
arguments:
29+
- ^[a-z][_a-z0-9]*.go$
2730
- name: redefines-builtin-id
2831
staticcheck:
2932
checks:
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)