Skip to content

Commit 0525055

Browse files
committed
prepare next PR
- update CHANGELOG for new feature - add repo housekeeping options (pre-commit hooks, gitattributes)
1 parent a3147d7 commit 0525055

File tree

3 files changed

+28
-0
lines changed

3 files changed

+28
-0
lines changed

.gitattributes

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
2+
*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4
3+
*.tf text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=4

.pre-commit-config.yaml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
repos:
2+
- repo: https://github.com/pre-commit/pre-commit-hooks
3+
rev: v3.4.0 # Get the latest from: https://github.com/pre-commit/pre-commit-hooks/releases
4+
hooks:
5+
- id: trailing-whitespace
6+
args: [--markdown-linebreak-ext=md]
7+
- repo: https://github.com/gruntwork-io/pre-commit
8+
rev: v0.1.12 # Get the latest from: https://github.com/gruntwork-io/pre-commit/releases
9+
hooks:
10+
- id: terraform-validate
11+
# - id: terraform-fmt #* this version of tf-fmt detect problem and fails. You have to run tf fmt yourself
12+
- repo: https://github.com/antonbabenko/pre-commit-terraform
13+
rev: v1.45.0 # Get the latest from: https://github.com/antonbabenko/pre-commit-terraform/releases
14+
hooks:
15+
- id: terraform_docs
16+
- id: terraform_fmt #* this version of tf-fmt actually runs fmt and fix files

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@ Given a version number MAJOR.MINOR.PATCH:
1212

1313
## [UNRELEASED]
1414

15+
Features:
16+
17+
- add Flex instance shape support
18+
19+
Repo maintenance:
20+
21+
- add .gitattributes for consistent line ending and tab
22+
- add pre-commit configuration file
23+
1524
## 2.0.4 - 2021-02-13
1625

1726
### Changed

0 commit comments

Comments
 (0)