This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* chore: go vet is already called by golangci-lint See dnephin/pre-commit-golang#62 (comment) and https://golangci-lint.run/usage/linters/ * chore: bump precommit-golang * chore: run golangci-lint for modified files Enable the fast linter preset and only run it on newly-modified files, and fix problems as they arise, if the linter supports it * chore: fix line endings * chore: expllicitly set filepaths for gherkin files * chore: remove trail comma in arrays' last items * chore: add empty Go file to the root directory Golangci-lint is able to continue * chore: add Go license to empty file
- Loading branch information
1 parent
f1c3a73
commit bf09f34
Showing
10 changed files
with
29 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,13 +17,13 @@ repos: | |
)$ | ||
- repo: git://github.com/dnephin/pre-commit-golang | ||
rev: v0.3.4 | ||
rev: v0.3.5 | ||
hooks: | ||
- id: go-fmt | ||
- id: go-lint | ||
- id: go-vet | ||
- id: no-go-testing | ||
- id: golangci-lint | ||
args: ["--fix", "--fast", "--new"] | ||
|
||
- repo: [email protected]:elastic/apm-pipeline-library | ||
rev: current | ||
|
@@ -44,4 +44,7 @@ repos: | |
- id: remove-en-dashes | ||
- id: check-jjbb | ||
- id: check-gherkin-lint | ||
args: ["--disable", "AvoidOutlineForSingleExample,TooClumsy,TooLongStep,TooManyDifferentTags,TooManySteps"] | ||
args: [ | ||
"--disable", "AvoidOutlineForSingleExample,TooClumsy,TooLongStep,TooManyDifferentTags,TooManySteps", | ||
"e2e/_suites/**/*.feature", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
or more contributor license agreements. Licensed under the Elastic License; | ||
you may not use this file except in compliance with the Elastic License. | ||
you may not use this file except in compliance with the Elastic License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
// or more contributor license agreements. Licensed under the Elastic License; | ||
// you may not use this file except in compliance with the Elastic License. | ||
|
||
package main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
or more contributor license agreements. Licensed under the Elastic License; | ||
you may not use this file except in compliance with the Elastic License. | ||
you may not use this file except in compliance with the Elastic License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module github.com/elastic/e2e-testing | ||
|
||
go 1.14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ | |
"EPL-1.0", | ||
"GPL-3.0" | ||
] | ||
} | ||
} |