Skip to content

Add formatting tools and configs#223

Merged
thelovekesh merged 7 commits into
mainfrom
add/oxfmt
May 21, 2026
Merged

Add formatting tools and configs#223
thelovekesh merged 7 commits into
mainfrom
add/oxfmt

Conversation

@thelovekesh
Copy link
Copy Markdown
Collaborator

Setup formatting tools and configs.

Formatting and Editor Configuration

  • Updated .editorconfig to set specific formatting rules for different file types, such as maximum line length for Markdown files, single quotes for YAML, and 2-space indentation for YAML, shell, and JSON files.
  • Added .oxfmtrc.json to enforce Markdown line wrapping and included oxfmt as a development dependency in package.json for formatting support. [1] [2]
  • Added .vscode/extensions.json to recommend Go and Oxc extensions, and .vscode/settings.json to configure Go linting/formatting tools and set Oxc as the default formatter for Markdown, YAML, JSON, and JSONC files. [1] [2]
  • Changed .golangci.yml to use single quotes for the version field for consistency.

Documentation Improvements

  • Reformatted README.md to wrap lines at 80 characters, improving readability and consistency, and updated command and configuration documentation for clarity. [1] [2] [3] [4] [5]

Workflow and Dependency Updates

  • Standardized quoting style in GitHub Actions and Dependabot configuration files, switching from double to single quotes for better consistency. [1] [2] [3] [4]

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces project-wide formatting and linting configurations, including the addition of oxfmt for Markdown, JSON, and YAML files. It also adds VS Code workspace settings, recommended extensions, and updates configuration files like .editorconfig and .gitignore to support the new tooling. Feedback was provided regarding the VS Code settings, specifically suggesting the use of the standard golangci-lint binary name instead of golangci-lint-v2 to ensure environment compatibility for all contributors.

Comment thread .vscode/settings.json
@github-actions
Copy link
Copy Markdown

📦 wpm cli builds 📦

@thelovekesh thelovekesh merged commit 9f4b08d into main May 21, 2026
17 checks passed
@thelovekesh thelovekesh deleted the add/oxfmt branch May 21, 2026 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant