Skip to content

Commit

Permalink
style(prettier): run Prettier to clean up code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
krudi committed Oct 6, 2024
1 parent 7b72126 commit 58dc2bf
Show file tree
Hide file tree
Showing 17 changed files with 9,017 additions and 8,956 deletions.
79 changes: 42 additions & 37 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,41 +4,46 @@ description: Please describe any bugs or issues you have encountered.
labels: [bug]
assignees: krudi
body:
- type: checkboxes
attributes:
label: Prerequisites
description: Take a couple minutes to help our maintainers work faster.
options:
- label: I have read the [contributing guidelines](https://github.com/krudi/vitepress-template/blob/main/CONTRIBUTING.md)
- type: checkboxes
attributes:
label: Prerequisites
description:
Take a couple minutes to help our maintainers work faster.
options:
- label:
I have read the [contributing
guidelines](https://github.com/krudi/vitepress-template/blob/main/CONTRIBUTING.md)
required: true
- type: textarea
id: gh-issue-description
attributes:
label: Describe the issue
description:
Provide a summary of the issue and detail the actions, that led to
the issue for effective communication and troubleshooting.
validations:
required: true
- type: textarea
id: gh-issue-description
attributes:
label: Describe the issue
description: Provide a summary of the issue and detail the actions, that led to the issue for effective communication and troubleshooting.
validations:
required: true
- type: dropdown
id: gh-operation-system
attributes:
label: On which operating system(s) are you experiencing the issue?
multiple: true
options:
- Windows
- macOS
- Linux
- Android
- iOS
validations:
required: true
- type: dropdown
id: gh-browser
attributes:
label: Which browser(s) are you experiencing the issue with?
multiple: true
options:
- Chrome
- Safari
- Firefox
- Microsoft Edge
- Opera
- type: dropdown
id: gh-operation-system
attributes:
label: On which operating system(s) are you experiencing the issue?
multiple: true
options:
- Windows
- macOS
- Linux
- Android
- iOS
validations:
required: true
- type: dropdown
id: gh-browser
attributes:
label: Which browser(s) are you experiencing the issue with?
multiple: true
options:
- Chrome
- Safari
- Firefox
- Microsoft Edge
- Opera
48 changes: 28 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,32 @@ description: Propose new or enhanced features to add.
labels: [feature]
assignees: krudi
body:
- type: checkboxes
attributes:
label: Prerequisites
description: Take a couple minutes to help our maintainers work faster.
options:
- label: I have read the [contributing guidelines](https://github.com/krudi/vitepress-template/blob/main/CONTRIBUTING.md)
- type: checkboxes
attributes:
label: Prerequisites
description:
Take a couple minutes to help our maintainers work faster.
options:
- label:
I have read the [contributing
guidelines](https://github.com/krudi/vitepress-template/blob/main/CONTRIBUTING.md)
required: true
- type: textarea
id: gh-proposal
attributes:
label: Proposal
description:
Please give detailed suggestions for additions, including relevant
links to prior examples, screenshots, or live demonstrations where
applicable
validations:
required: true
- type: textarea
id: gh-reason
attributes:
label: Motivation and context
description:
Explain why this change is necessary or beneficial, and the issues
it might address.
validations:
required: true
- type: textarea
id: gh-proposal
attributes:
label: Proposal
description: Please give detailed suggestions for additions, including relevant links to prior examples, screenshots, or live demonstrations where applicable
validations:
required: true
- type: textarea
id: gh-reason
attributes:
label: Motivation and context
description: Explain why this change is necessary or beneficial, and the issues it might address.
validations:
required: true
8 changes: 4 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'weekly'
60 changes: 30 additions & 30 deletions .github/workflows/build-frontend.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
name: Install dependencies and build the project

on:
push:
branches:
- develop
- main
- "!dependabot/**"
push:
branches:
- develop
- main
- '!dependabot/**'

pull_request:
branches:
- develop
- main
- "!dependabot/**"
pull_request:
branches:
- develop
- main
- '!dependabot/**'

jobs:
build:
name: Build and start Node.js project
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- "20.11.0"
build:
name: Build and start Node.js project
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- '20.11.0'

steps:
- name: Checkout the current branch
uses: actions/checkout@v4
steps:
- name: Checkout the current branch
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ matrix.node-version }}'
cache: npm
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ matrix.node-version }}'
cache: npm

- name: Install dependencies in the project
run: npm install
- name: Install dependencies in the project
run: npm install

- name: Build the project
run: npm run build
- name: Build the project
run: npm run build
80 changes: 40 additions & 40 deletions .github/workflows/prepare-docs-lint.yml
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
name: Run linting commands

on:
push:
paths:
- "**/*.md"
push:
paths:
- '**/*.md'

branches:
- develop
- main
- "!dependabot/**"
branches:
- develop
- main
- '!dependabot/**'

pull_request:
paths:
- "**/*.md"
pull_request:
paths:
- '**/*.md'

branches:
- develop
- main
- "!dependabot/**"
branches:
- develop
- main
- '!dependabot/**'

jobs:
build:
name: Build and start Node.js project
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- "20.11.0"
command:
- "lint:markdown"

steps:
- name: Checkout the current branch
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ matrix.node-version }}'
cache: npm

- name: Install dependencies in the project
run: npm install

- name: Run Node linting commands
run: "npm run ${{ matrix.command }}"
build:
name: Build and start Node.js project
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- '20.11.0'
command:
- 'lint:markdown'

steps:
- name: Checkout the current branch
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '${{ matrix.node-version }}'
cache: npm

- name: Install dependencies in the project
run: npm install

- name: Run Node linting commands
run: 'npm run ${{ matrix.command }}'
4 changes: 2 additions & 2 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
default: true
MD003:
style: atx
style: atx
MD007:
indent: 2
indent: 2
no-hard-tabs: false
whitespace: false
line-length: false
Expand Down
14 changes: 7 additions & 7 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint",
"editorconfig.editorconfig",
"davidanson.vscode-markdownlint",
]
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"stylelint.vscode-stylelint",
"editorconfig.editorconfig",
"davidanson.vscode-markdownlint"
]
}
22 changes: 11 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false,
"editor.codeActionsOnSave": [
"source.addMissingImports",
"source.fixAll.eslint"
],
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.detectIndentation": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": false,
"editor.codeActionsOnSave": [
"source.addMissingImports",
"source.fixAll.eslint"
],
"typescript.tsdk": "node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
Loading

0 comments on commit 58dc2bf

Please sign in to comment.