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

Fix lint issues #69

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
branches:
- main
schedule:
- cron: '0 12 * * 1' # Runs every Monday at 12:00 PM UTC
- cron: '0 12 * * 1' #Runs every Monday at 12:00 PM UTC

jobs:
integration-test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,13 @@ jobs:
name: Semantic PR title
runs-on: ubuntu-latest
if: >
contains(['opened', 'reopened', 'ready_for_review'], github.event.action) ||
(github.event.action == 'edited' && github.event.changes.title != null)
contains(
['opened', 'reopened', 'ready_for_review'],
github.event.action
) ||(
github.event.action == 'edited' &&
github.event.changes.title != null
)
steps:
- name: Check if the PR title is semantic
uses: amannn/action-semantic-pull-request@v5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
branches:
- main
schedule:
- cron: '0 12 * * 1' # Runs every Monday at 12:00 PM UTC
- cron: '0 12 * * 1' #Runs every Monday at 12:00 PM UTC

jobs:
code-vulnerabilities:
Expand Down
108 changes: 55 additions & 53 deletions {{ cookiecutter.project_name_dashed }}/.markdownlint.yaml
Original file line number Diff line number Diff line change
@@ -1,76 +1,78 @@
---
default: true

# Headings
#Headings
MD001:
level: 1 # Require headings to increment by one level at a time
level: 1 #Require headings to increment by one level at a time
MD002:
level: 2 # Require that the first heading in a document is a level 2 heading
level: 2 #Require that the first heading in a document is a level 2 heading
MD003:
style: atx # Enforce a consistent style for headings (e.g., atx style)
style: atx #Enforce a consistent style for headings (e.g., atx style)

# Unordered Lists
#Unordered Lists
MD004:
style: dash # Enforce consistent marker style (e.g., - for list items)
MD005: true # Ensure list indentation is consistent
MD006: true # Require proper indentation for list items
style: dash #Enforce consistent marker style (e.g., - for list items)
MD005: true #Ensure list indentation is consistent
MD006: true #Require proper indentation for list items
MD007:
indent: 2 # Enforce a consistent indentation level for nested list items
indent: 2 #Enforce a consistent indentation level for nested list items

# Line Length
#Line Length
MD013:
line_length: 80 # Limit line length to 80 characters
code_blocks: false # Exclude code blocks from line length rule
tables: false # Exclude tables from line length rule
line_length: 80 #Limit line length to 80 characters
code_blocks: false #Exclude code blocks from line length rule
tables: false #Exclude tables from line length rule

# Trailing Spaces
#Trailing Spaces
MD009:
strict: true # Ensure no trailing spaces at the end of lines
strict: true #Ensure no trailing spaces at the end of lines

# Punctuation
#Punctuation
MD026:
punctuation: ".,;:!" # Ensure proper punctuation in headings
punctuation: ".,;:!" #Ensure proper punctuation in headings

# Horizontal Rules
#Horizontal Rules
MD035:
style: "***" # Enforce a consistent style for horizontal rules
style: "***" #Enforce a consistent style for horizontal rules

# Links and Images
MD042: true # Require proper use of URLs in links
MD045: true # Ensure alt text is provided for images
#Links and Images
MD042: true #Require proper use of URLs in links
MD045: true #Ensure alt text is provided for images

# General Formatting
MD010: true # No hard tabs
#General Formatting
MD010: true #No hard tabs
MD012:
maximum: 1 # No multiple consecutive blank lines
MD014: true # Dollar signs used before commands without showing output
MD018: true # No space after hash on atx style heading
MD019: true # Multiple spaces after hash on atx style heading
MD020: true # No space inside hashes on closed atx style heading
MD021: true # No multiple spaces inside hashes on closed atx style heading
MD022: true # Headings should be surrounded by blank lines
MD023: true # Headings must start at the beginning of the line
MD024: true # Multiple headings with the same content
MD025: true # Multiple top-level headings in the same document
MD027: true # Multiple spaces after blockquote symbol
MD028: true # Blank line inside blockquote
MD029: true # Ordered list item prefix
MD030: true # Spaces after list markers
MD031: true # Fenced code blocks should be surrounded by blank lines
MD032: true # Lists should be surrounded by blank lines
MD033: # Inline HTML
maximum: 1 #No multiple consecutive blank lines
MD014: true #Dollar signs used before commands without showing output
MD018: true #No space after hash on atx style heading
MD019: true #Multiple spaces after hash on atx style heading
MD020: true #No space inside hashes on closed atx style heading
MD021: true #No multiple spaces inside hashes on closed atx style heading
MD022: true #Headings should be surrounded by blank lines
MD023: true #Headings must start at the beginning of the line
MD024: true #Multiple headings with the same content
MD025: true #Multiple top-level headings in the same document
MD027: true #Multiple spaces after blockquote symbol
MD028: true #Blank line inside blockquote
MD029: true #Ordered list item prefix
MD030: true #Spaces after list markers
MD031: true #Fenced code blocks should be surrounded by blank lines
MD032: true #Lists should be surrounded by blank lines
MD033: #Inline HTML
allowed_elements:
- kbd
MD034: true # Bare URL used
MD036: true # Emphasis used instead of a header
MD037: true # Spaces inside emphasis markers
MD038: true # Spaces inside code span elements
MD039: true # Spaces inside link elements
MD040: true # Fenced code blocks should have a language specified
MD041: false # First line need not be h1
MD046: true # Code block style
MD047: true # Files should end with a single newline character
MD048: true # Code fence style
MD049: true # Required heading structure
MD050: true # Strong style should be consistent
MD034: true #Bare URL used
MD036: true #Emphasis used instead of a header
MD037: true #Spaces inside emphasis markers
MD038: true #Spaces inside code span elements
MD039: true #Spaces inside link elements
MD040: true #Fenced code blocks should have a language specified
MD041: false #First line need not be h1
MD046: true #Code block style
MD047: true #Files should end with a single newline character
MD048: true #Code fence style
MD049: true #Required heading structure
MD050: true #Strong style should be consistent
...