Skip to content

Commit 67f8b63

Browse files
authored
Ignore Smithy prototype lint errors for function names (#545)
1 parent ea0585f commit 67f8b63

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ LINTIGNOREDEPS='vendor/.+\.go'
88
LINTIGNOREPKGCOMMENT='service/[^/]+/doc_custom.go:.+package comment should be of the form'
99
LINTIGNOREENDPOINTS='aws/endpoints/defaults.go:.+(method|const) .+ should be '
1010
LINTIGNORESINGLEFIGHT='internal/sync/singleflight/singleflight.go:.+error should be the last type'
11+
LINTIGNOREPROTO="service/smithyprototype/.+\.go:.+don't use underscores in Go names"
1112
UNIT_TEST_TAGS="example codegen awsinclude"
1213
ALL_TAGS="example codegen awsinclude integration perftest sdktool"
1314

@@ -152,7 +153,8 @@ lint:
152153
-e ${LINTIGNOREINFLECTS3UPLOAD} \
153154
-e ${LINTIGNOREPKGCOMMENT} \
154155
-e ${LINTIGNOREENDPOINTS} \
155-
-e ${LINTIGNORESINGLEFIGHT}`; \
156+
-e ${LINTIGNORESINGLEFIGHT} \
157+
-e ${LINTIGNOREPROTO}`; \
156158
echo "$$dolint"; \
157159
if [ "$$dolint" != "" ]; then exit 1; fi
158160

0 commit comments

Comments
 (0)