Skip to content

Commit

Permalink
nit: suggest mermaid syntax highlighting (#3389)
Browse files Browse the repository at this point in the history
Co-authored-by: Trajan0x <[email protected]>
  • Loading branch information
trajan0x and trajan0x authored Nov 13, 2024
1 parent fd8ad75 commit 5ee4d85
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ contrib/opbot/generated/* linguist-generated
# svg should be treated as a binary https://git.io/JE2VK
*.svg binary
*.sol linguist-language=Solidity

.vscode/*.json linguist-language=jsonc
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ jobs:
with:
pattern: '.github/renovate.json' # Regular expression for filename to validate, default to *.json

- name: jsonc-syntax-check
uses: stevieb9/[email protected]
with:
pattern: .vscode/*.json'


- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
Expand Down
11 changes: 9 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
{
// This file (like all vscode metadata files) uses JSON with Comments (JSONC) format, which supports:
// - Comments (both single and multi-line)
// - Trailing commas
// - More lenient syntax than standard JSON

// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp

// List of extensions which should be recommended for users of this workspace.
"recommendations": [
"dbaeumer.vscode-eslint",
"editorconfig.editorconfig",
"juanblanco.solidity",
"golang.go",
"bierner.markdown-mermaid",
"bpruitt-goddard.mermaid-markdown-syntax-highlighting",
],
}
}

0 comments on commit 5ee4d85

Please sign in to comment.