Fix golangci-lint configuration
- remove redundante whitespace - rename wrong linter-settings to linters-settings - ignore strconv functions for gomnd linter - use australian locale for spell checking
This commit is contained in:
parent
7dbef080b1
commit
87b87f7de3
1 changed files with 7 additions and 4 deletions
|
@ -6,12 +6,12 @@ run:
|
||||||
output:
|
output:
|
||||||
sort-results: true
|
sort-results: true
|
||||||
|
|
||||||
linter-settings:
|
linters-settings:
|
||||||
goheader:
|
goheader:
|
||||||
values:
|
values:
|
||||||
const:
|
const:
|
||||||
ORGANIZATION: CAcert Inc.
|
ORGANIZATION: CAcert Inc.
|
||||||
template: |
|
template: |-
|
||||||
Copyright {{ YEAR-RANGE }} {{ ORGANIZATION }}
|
Copyright {{ YEAR-RANGE }} {{ ORGANIZATION }}
|
||||||
SPDX-License-Identifier: Apache-2.0
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
@ -26,10 +26,13 @@ linter-settings:
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
gomnd:
|
||||||
|
ignore-functions:
|
||||||
|
- 'strconv.*'
|
||||||
goimports:
|
goimports:
|
||||||
local-prefixes: git.cacert.org/cacert-boardvoting
|
local-prefixes: git.cacert.org/cacert-boardvoting
|
||||||
misspell:
|
misspell:
|
||||||
locale: US
|
locale: en-AU
|
||||||
ignore-words:
|
ignore-words:
|
||||||
- CAcert
|
- CAcert
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue