mirror of
https://github.com/alibaba/higress.git
synced 2026-04-20 11:37:27 +08:00
feat: add lint/e2e tests support (#126)
Signed-off-by: bitliu <bitliu@tencent.com>
This commit is contained in:
2
tools/linter/codespell/.codespell.ignorewords
Normal file
2
tools/linter/codespell/.codespell.ignorewords
Normal file
@@ -0,0 +1,2 @@
|
||||
keypair
|
||||
keypairs
|
||||
14
tools/linter/codespell/.codespell.skip
Normal file
14
tools/linter/codespell/.codespell.skip
Normal file
@@ -0,0 +1,14 @@
|
||||
.git
|
||||
.idea
|
||||
*.png
|
||||
*.woff
|
||||
*.woff2
|
||||
*.eot
|
||||
*.ttf
|
||||
*.jpg
|
||||
*.ico
|
||||
*.svg
|
||||
./docs/html/*
|
||||
go.mod
|
||||
go.sum
|
||||
bin
|
||||
26
tools/linter/codespell/matcher.json
Normal file
26
tools/linter/codespell/matcher.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"problemMatcher": [
|
||||
{
|
||||
"owner": "codespell-matcher-default",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(.+):(\\d+):\\s+(.+)$",
|
||||
"file": 1,
|
||||
"line": 2,
|
||||
"message": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"owner": "codespell-matcher-specified",
|
||||
"pattern": [
|
||||
{
|
||||
"regexp": "^(ERROR|WARNING):\\s+(.+):\\s+(.+?)\\s*$",
|
||||
"file": 3,
|
||||
"severity": 1,
|
||||
"message": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user