mirror of
https://github.com/securego/gosec.git
synced 2025-11-27 22:28:20 +02:00
Do not allow dashes in file names
This commit is contained in:
committed by
Cosmin Cojocar
parent
bcc8afbe30
commit
4a8cb4609f
@@ -24,6 +24,9 @@ linters:
|
|||||||
rules:
|
rules:
|
||||||
- name: dot-imports
|
- name: dot-imports
|
||||||
disabled: true
|
disabled: true
|
||||||
|
- name: filename-format
|
||||||
|
arguments:
|
||||||
|
- ^[a-z][_a-z0-9]*.go$
|
||||||
- name: redefines-builtin-id
|
- name: redefines-builtin-id
|
||||||
staticcheck:
|
staticcheck:
|
||||||
checks:
|
checks:
|
||||||
|
|||||||
Reference in New Issue
Block a user