mattermost-community / mattermost-plugin-antivirus

Antivirus plugin for scanning files uploaded to Mattermost
Apache License 2.0
35 stars 23 forks source link

Integrate GolangCI-lint #22

Closed nathanaelhoun closed 4 years ago

nathanaelhoun commented 4 years ago

Summary

This PR copies most of the golangci-lint configuration from mattermost/mattermost-plugin-starter-template#90 into this repo. This helps with a consistent code style and should improve code quality over time.

Only one change was needed : permission for manifest file. See https://github.com/mattermost/mattermost-plugin-starter-template/issues/95.

Inspired by mattermost/mattermost-plugin-autolink#108.

Ticket Link

Closes #21

mattermod commented 4 years ago

The file Makefile is in the blacklist and should not be modified from external contributors, please if you are part of the Mattermost Org submit this PR in the upstream. /cc @mattermost/core-security @mattermost/core-build-engineers

hanzei commented 4 years ago

Skipping QA review as there are no changes to the product.