generated from hadenlabs/terraform-module-template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: sync structure project to standard (#1)
- Loading branch information
Showing
80 changed files
with
917 additions
and
447 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
module.exports = { | ||
parser: '@typescript-eslint/parser', | ||
parser: "@typescript-eslint/parser", | ||
env: { | ||
node: true, | ||
es2021: true | ||
}, | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: 'module' // Allows for the use of imports | ||
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' | ||
"plugin:prettier/recommended", | ||
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
"plugin:import/warnings" | ||
], | ||
plugins: ['@typescript-eslint'], | ||
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' | ||
"@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'] | ||
ignorePatterns: ["**/*.d.ts"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,28 +161,9 @@ title = "gitleaks config" | |
regexes = [ | ||
'''host=HOST''', | ||
'''--private-key={{.PRIVATE_KEY_FILE}}''', | ||
'''PASSWORD=XXXXXX''', | ||
] | ||
|
||
[[rules]] | ||
description = "Email" | ||
regex = '''[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}''' | ||
tags = ["email"] | ||
[rules.allowlist] | ||
description = "ignore emails" | ||
regexes = [ | ||
'''[a-zA-Z0-9._%+-][email protected]''', | ||
'''[a-zA-Z0-9._%+-][email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
'''[email protected]''', | ||
] | ||
|
||
[[rules]] | ||
description = "High Entropy" | ||
|
@@ -262,9 +243,11 @@ title = "gitleaks config" | |
[whitelist] | ||
description = "image and html allowlists" | ||
paths = [ | ||
'''^vendor/(.*?)$''', | ||
'''^node_modules/(.*?)$''', | ||
'''^test/fixtures/keys/(.*?)$''', | ||
'''^vendor/''', | ||
'''^bower_components/''', | ||
'''^public/''', | ||
'''^node_modules/''', | ||
'''^theme/''', | ||
] | ||
|
||
files = [ | ||
|
@@ -276,3 +259,5 @@ title = "gitleaks config" | |
'''^sonar-project.properties$''', | ||
'''^test/fixtures/keys/.*-test.*$''', | ||
] | ||
|
||
commits = [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
const escape = require('shell-quote').quote | ||
const escape = require("shell-quote").quote | ||
|
||
module.exports = { | ||
'*.{ts,tsx,js,json,css}': (filenames) => [ | ||
"*.{ts,tsx,js,json,css}": (filenames) => [ | ||
...filenames.map((filename) => `prettier --check "${escape([filename])}"`), | ||
...filenames.map((filename) => `git add "${filename}"`) | ||
], | ||
'*.{ts,tsx,js,jsx}': ['eslint'], | ||
'*.{ts,tsx,css}': ['stylelint'] | ||
"*.{ts,tsx,js,jsx}": ["eslint"], | ||
"*.{ts,tsx,css}": ["stylelint"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
.* | ||
!.coveragerc | ||
!.env | ||
!.pylintrc | ||
.venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# **NOTE**: please check the following document docs/env-vars.md | ||
APP_NAME=terraform-module-template | ||
APP_NAME=terraform-cloudflare | ||
SONAR_URL= | ||
SONAR_TOKEN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
name: Bug report | ||
name: 🐛 Bug report | ||
about: Create a report to help us improve | ||
labels: type/bug | ||
--- | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.