Skip to content

Use file type instead extension - #6

Merged
kintoandar merged 1 commit into
kintoandar:masterfrom
opsgang:fix/file-type-instead-extension
Jun 4, 2021
Merged

kintoandar merged 1 commit into
kintoandar:masterfrom
opsgang:fix/file-type-instead-extension

Conversation

@leventyalcin

Copy link
Copy Markdown
Contributor

Using types are better option than using file extension.

For instance, the hooks are neither fmt-ing nor validatees .tfvars files currently. However, if types are used, detected by https://github.com/pre-commit/identify and pre-commit runs accordinly. Which means these two file extensions will be fmt-ed and verified. 👍

@leventyalcin
leventyalcin force-pushed the fix/file-type-instead-extension branch from 9fb1aee to 9bf432b Compare June 4, 2021 13:37
@leventyalcin leventyalcin changed the title Fix/file type instead extension Use file type instead extension Jun 4, 2021
@kintoandar

Copy link
Copy Markdown
Owner

Thank you, makes sense to me 👍

Merging

@kintoandar
kintoandar merged commit 37f01b9 into kintoandar:master Jun 4, 2021
@leventyalcin
leventyalcin deleted the fix/file-type-instead-extension branch June 9, 2021 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants