Skip to content

Commit 5f008af

Browse files
Add src flag to sonarlint cmd in Dockerfile
To limit what file extensions SonarLint looks at and thus limit the mess in stderr.
1 parent 0b6b93c commit 5f008af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ USER app
3333
ENTRYPOINT []
3434
WORKDIR /code-read-write
3535
CMD cp -R /code/* . && \
36-
/usr/src/app/dest/bin/sonarlint
36+
/usr/src/app/dest/bin/sonarlint \
37+
--src '**/*.{js,py,php,java}'

0 commit comments

Comments
 (0)