Skip to content

Commit 029b7d0

Browse files
Fixed Symlinks
1 parent d5f5ff6 commit 029b7d0

File tree

3 files changed

+68
-3
lines changed

3 files changed

+68
-3
lines changed

.golangci.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
components/module/linkfiles/.golangci.yaml
1+
version: "2"
2+
run:
3+
# Timeout for analysis, e.g. 30s, 5m.
4+
timeout: 5m
5+
allow-parallel-runners: true

.pre-commit-config.yaml

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,50 @@
1-
components/module/linkfiles/.pre-commit-config.yaml
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v4.5.0
4+
hooks:
5+
- id: trailing-whitespace
6+
- id: check-case-conflict
7+
- id: check-executables-have-shebangs
8+
- id: check-json
9+
- id: check-merge-conflict
10+
- id: check-shebang-scripts-are-executable
11+
- id: check-yaml
12+
args:
13+
- --allow-multiple-documents
14+
- id: end-of-file-fixer
15+
- id: mixed-line-ending
16+
args:
17+
- --fix=auto
18+
- repo: https://github.com/antonbabenko/pre-commit-terraform
19+
rev: v1.99.0
20+
hooks:
21+
- id: terraform_fmt
22+
- id: terraform_validate
23+
- id: terraform_docs
24+
args:
25+
- --hook-config=--path-to-file=README.md
26+
- --hook-config=--add-to-existing-file=true
27+
- --hook-config=--create-file-if-not-exist=true
28+
- --args=--sort=false
29+
- repo: https://github.com/golangci/golangci-lint
30+
rev: v2.2.1
31+
hooks:
32+
- id: golangci-lint
33+
name: golangci-lint
34+
description: Fast linters runner for Go.
35+
entry: golangci-lint run --fix
36+
types: [go]
37+
language: golang
38+
pass_filenames: false
39+
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
40+
rev: v9.22.0
41+
hooks:
42+
- id: commitlint
43+
stages: [commit-msg]
44+
additional_dependencies: ["@commitlint/config-conventional"]
45+
- repo: https://github.com/Yelp/detect-secrets
46+
rev: v1.5.0
47+
hooks:
48+
- id: detect-secrets
49+
args: ["--baseline", ".secrets.baseline"]
50+
exclude: package.lock.json

.tflint.hcl

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
1-
components/module/linkfiles/.tflint.hcl
1+
config {
2+
plugin_dir = "~/.tflint.d/plugins"
3+
4+
call_module_type = "all"
5+
force = false
6+
disabled_by_default = false
7+
8+
ignore_module = {
9+
}
10+
11+
varfile = []
12+
variables = []
13+
}

0 commit comments

Comments
 (0)