Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
luismayta authored Jul 7, 2024
0 parents commit cb91883
Show file tree
Hide file tree
Showing 147 changed files with 9,523 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Changelog

All notable changes to this project will be documented in this file. This file uses change log convention from [keep a CHANGELOG](http://keepachangelog.com/en/0.3.0/).

{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }}

> {{ datetime "2006-01-02" .Tag.Date }}
{{ range .CommitGroups -}}

### {{ .Title }}

{{ range .Commits -}}
* {{ .Subject }}
{{ end }}
{{ end -}}

{{- if .RevertCommits -}}

### Reverts

{{ range .RevertCommits -}}
* {{ .Revert.Header }}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
### {{ .Title }}

{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}
29 changes: 29 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/hadenlabs/terraform-module-template
options:
commits:
filters:
Type:
- chore
- feat
- fix
- perf
- refactor
commit_groups:
title_maps:
chore: Features
feat: Features
fix: Bug Fixes
perf: Performance Improvements
refactor: Code Refactoring
header:
pattern: "^(\\w*)\\:\\s(.*)$"
pattern_maps:
- Type
- Subject
notes:
keywords:
- BREAKING CHANGE
48 changes: 48 additions & 0 deletions .ci/config/.terraform-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
formatter: 'markdown' # this is required
version: ''

header-from: main.tf
footer-from: ''

recursive:
enabled: false
path: modules

sections:
hide: []
show: []

content: ''

output:
file: 'docs/include/terraform.md'
mode: replace
template: |-
<!-- markdown-link-check-disable -->
<!-- BEGIN_TF_DOCS -->
{{ .Content }}
<!-- END_TF_DOCS -->
<!-- markdown-link-check-enable -->
output-values:
enabled: false
from: ''

sort:
enabled: true
by: name

settings:
anchor: false
color: true
default: true
description: false
escape: true
hide-empty: false
html: true
indent: 2
lockfile: true
read-comments: true
required: true
sensitive: true
type: true
7 changes: 7 additions & 0 deletions .ci/linters/.ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
warn_list:
- '204' # Lines should be less than 160 characters
- '701' # meta/main.yml should contain relevant info
skip_list:
- '106' # Role name must match ^[a-z][a-z0-9_]+$ pattern
- 'yaml'
- 'role-name'
3 changes: 3 additions & 0 deletions .ci/linters/.commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@hadenlabs/commitlint-config"]
}
9 changes: 9 additions & 0 deletions .ci/linters/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules/
dist/
build/
out/
.serverless/
.serverless_nextjs/
.next/
storybook-static/
__snapshots__/
28 changes: 28 additions & 0 deletions .ci/linters/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
parser: '@typescript-eslint/parser',
env: {
node: true,
es2021: true
},
parserOptions: {
ecmaVersion: 6,
sourceType: 'module' // Allows for the use of imports
},
extends: [
'plugin:prettier/recommended',
'plugin:@typescript-eslint/recommended', // Uses the recommended rules from the @typescript-eslint/eslint-plugin
'plugin:import/warnings'
],
plugins: ['@typescript-eslint'],
rules: {
'@typescript-eslint/semicolon': 'off',
'@typescript-eslint/member-delimiter-style': 'off',
'@typescript-eslint/naming-convention': 'warn',
'@typescript-eslint/semi': 'off',
'no-throw-literal': 'warn',
curly: 'warn',
eqeqeq: 'warn',
semi: 'off'
},
ignorePatterns: ['**/*.d.ts']
}
Loading

0 comments on commit cb91883

Please sign in to comment.