Skip to content

Commit

Permalink
feat(terraform): add boilerplate directory structure
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLicense committed Mar 5, 2024
1 parent 960e071 commit f37712f
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 f37712f

Please sign in to comment.