Skip to content

Commit

Permalink
feat(terraform): add boilerplate directory structure (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense authored Mar 5, 2024
1 parent ac618fa commit f614038
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ import * as fs from "fs";
const Configuration: UserConfig = {
extends: ["@commitlint/config-conventional"],
rules: {
"scope-enum": [2, "always", fs.readdirSync("app").filter((file) => fs.statSync(`app/${file}`).isDirectory())],
"scope-enum": [
2,
"always",
[
...fs.readdirSync("app").filter((file) => fs.statSync(`app/${file}`).isDirectory()),
...fs.readdirSync("infra").filter((file) => fs.statSync(`infra/${file}`).isDirectory()),
],
],
},
};

module.exports = Configuration;
export default Configuration;
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.

0 comments on commit f614038

Please sign in to comment.