Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chore: Add editorconfig to repo #483

Merged
merged 2 commits into from
Aug 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
root = true

[*]
# Includes all - file types included in the ADF repo:
# - .ini
# - .java
# - .js
# - .json
# - .md
# - .py
# - .rb
# - .sh
# - .ts
# - .txt
# - .xml
# - .yml
# - .yml.j2
# - Makefile
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
max_line_length = 80

[*.py]
indent_size = 4

[*.{json,xml,html,ejs}]
indent_size = 4

[*.{json,yml,yml.j2}]
max_line_length = 140

[{package.json,package-lock.json}]
indent_size = 2

[*.java]
indent_size = 4

[*.md]
indent_size = unset

[*.txt]
indent_size = 4

[*.ini]
indent_size = 4

[tox.ini]
max_line_length = 120

[Makefile]
indent_style = tab
indent_size = 4
tab_width = 4
4 changes: 2 additions & 2 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ rules:
octal-values: enable
quoted-strings: disable
trailing-spaces: enable
truthy:
level: error
truthy:
level: error
7 changes: 5 additions & 2 deletions src/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ Description: ADF CloudFormation Initial Base Stack for the Master Account in the
Metadata:
AWS::ServerlessRepo::Application:
Name: aws-deployment-framework
Description: The AWS Deployment Framework (ADF) is an extensive and flexible framework to manage and deploy resources across multiple AWS accounts and regions based on AWS Organizations.
Description: >-
The AWS Deployment Framework (ADF) is an extensive and flexible framework to manage and deploy resources across multiple
AWS accounts and regions based on AWS Organizations.
Author: AWS ADF Builders Team
SpdxLicenseId: Apache-2.0
LicenseUrl: ../LICENSE.txt
Expand Down Expand Up @@ -44,7 +46,8 @@ Parameters:
DeploymentAccountId:
Type: String
Default: ""
Description: "Example -> 123456789012 (Only required if you have an existing AWS Account that you wish to use as the deployment account.)"
Description: >-
Example -> 123456789012 (Only required if you have an existing AWS Account that you wish to use as the deployment account.)
DeploymentAccountMainRegion:
Type: String
Default: ""
Expand Down