Skip to content

Conversation

@JounQin
Copy link
Member

@JounQin JounQin commented Jun 23, 2025

Summary by CodeRabbit

  • New Features
    • Added custom spell-checking dictionaries for DevOps and Kubernetes terminology.
    • Introduced new documentation on configuring virtual machines for IPv6 support using ManagedTap.
    • Added support for advanced ESLint and CSpell configuration via external modules.
  • Improvements
    • Simplified and enhanced ESLint and spell-checking configuration management.
    • Improved configuration loading with better URL and path handling.
    • Enhanced linting behavior for MDX files by disabling specific React hooks rules.
    • Refined documentation for clearer instructions and added linting usage guidance.
  • Chores
    • Updated package exports and dependencies for ESLint and CSpell integration.
    • Cleaned up configuration files by removing obsolete linting and spell-checking settings.
    • Adjusted CI workflow to run build step before parallel linting tasks.

@JounQin JounQin self-assigned this Jun 23, 2025
Copilot AI review requested due to automatic review settings June 23, 2025 07:43
@JounQin JounQin added the enhancement New feature or request label Jun 23, 2025
@changeset-bot
Copy link

changeset-bot bot commented Jun 23, 2025

🦋 Changeset detected

Latest commit: 00eaf73

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alauda/doom Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link

coderabbitai bot commented Jun 23, 2025

Walkthrough

This update introduces modularized configuration for ESLint and CSpell by adding new source modules and dictionary files, refactors the lint command to delegate ESLint setup, and updates configuration loading to support URL roots. It also revises package exports, dependencies, and documentation for IPv6 VM network configuration.

Changes

File(s) Change Summary
.cspell/devops.txt, .cspell/k8s.txt Added new and updated dictionary files for DevOps and Kubernetes-related spellchecking terms.
cspell.config.js, src/cspell.ts Added a proxy config file and a new async module that generates a CSpell configuration with dynamic dictionary and word handling.
doom.config.yml Removed the lint and cspellOptions configuration section.
eslint.config.js, src/eslint.ts Updated ESLint config to import and integrate external doom configuration; added a new async module generating ESLint config arrays with support for spellchecking, React, MDX, and TypeScript. Added override for MDX files.
fixture-docs/en/test/managedtap.mdx Added documentation for configuring VMs with network binding mode for IPv6 support, including prerequisites and step-by-step instructions.
package.json Added new exports for cspell and eslint modules; added globals as a dependency.
src/cli/lint.ts Refactored lint command to delegate ESLint configuration to an external async function, removing inline config and plugin imports.
src/cli/load-config.ts Updated to support root as a URL, normalized paths, simplified path resolution logic, and removed the cwd parameter from resolveDocRoot.

Sequence Diagram(s)

sequenceDiagram
    participant CLI
    participant ConfigLoader as loadConfig
    participant ESLintConfig as doom (src/eslint.ts)
    participant ESLint

    CLI->>ConfigLoader: loadConfig(root)
    ConfigLoader-->>CLI: { config, filepath }

    CLI->>ESLintConfig: doom(config.cspellOptions)
    ESLintConfig-->>CLI: ESLint config array

    CLI->>ESLint: new ESLint({ overrideConfig: ... })
    CLI->>ESLint: lintFiles()
    ESLint-->>CLI: results
Loading

Possibly related PRs

  • alauda/doom#62: Enhances ESLint config integration with React Hooks plugin, related to ESLint config updates.
  • alauda/doom#15: Introduces initial lint command and spellchecking config, foundational to this PR’s refactor.
  • alauda/doom#17: Refactors lint command to delegate ESLint config externally, related to src/cli/lint.ts changes.

Suggested labels

feature, internal

Poem

🐇
New configs hop in with grace,
Spellcheck and lint find their place.
IPv6 guides the way,
Docs and code in bright array.
Dictionaries bloom anew,
Bunny cheers for all we do!
🌿✨

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

eslint.config.js

Oops! Something went wrong! :(

ESLint: 9.29.0

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/lib/eslint.js' imported from /eslint.config.js
at finalizeResolution (node:internal/modules/esm/resolve:274:11)
at moduleResolve (node:internal/modules/esm/resolve:859:10)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:201:49)

src/cspell.ts

Oops! Something went wrong! :(

ESLint: 9.29.0

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/lib/eslint.js' imported from /eslint.config.js
at finalizeResolution (node:internal/modules/esm/resolve:274:11)
at moduleResolve (node:internal/modules/esm/resolve:859:10)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:201:49)

src/eslint.ts

Oops! Something went wrong! :(

ESLint: 9.29.0

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/lib/eslint.js' imported from /eslint.config.js
at finalizeResolution (node:internal/modules/esm/resolve:274:11)
at moduleResolve (node:internal/modules/esm/resolve:859:10)
at defaultResolve (node:internal/modules/esm/resolve:983:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:801:12)
at #cachedDefaultResolve (node:internal/modules/esm/loader:725:25)
at ModuleLoader.resolve (node:internal/modules/esm/loader:708:38)
at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:309:38)
at #link (node:internal/modules/esm/module_job:201:49)


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6b4df22 and 6f83735.

📒 Files selected for processing (6)
  • .github/workflows/pkg-pr-new.yml (1 hunks)
  • docs/en/start.mdx (8 hunks)
  • docs/zh/start.mdx (1 hunks)
  • eslint.config.js (2 hunks)
  • src/cspell.ts (1 hunks)
  • src/eslint.ts (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
  • eslint.config.js
  • docs/zh/start.mdx
  • src/cspell.ts
🧰 Additional context used
🧠 Learnings (1)
docs/en/start.mdx (1)
Learnt from: JounQin
PR: alauda/doom#75
File: src/cli/load-config.ts:4-7
Timestamp: 2025-06-09T03:10:41.010Z
Learning: The alauda/doom project uses yarn v4 as the package manager, not npm. Always reference yarn commands when suggesting package management operations.
🪛 LanguageTool
docs/en/start.mdx

[uncategorized] ~261-~261: Loose punctuation mark.
Context: ...figuration files: - eslint.config.mjs: ```js import doom from '@alauda/do...

(UNLIKELY_OPENING_PUNCTUATION)


[uncategorized] ~269-~269: Loose punctuation mark.
Context: ....meta.url)) - `cspell.config.mjs`: js export { default } from '@al...

(UNLIKELY_OPENING_PUNCTUATION)

⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: Build and Lint with Node.js 22 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 20 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 24 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 18 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 18 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 22 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 20 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 24 on ubuntu-latest
🔇 Additional comments (9)
src/eslint.ts (5)

12-14: Well-designed function overloads for flexible configuration loading.

The overloaded function signatures provide a clean API that supports both direct cspell options and config root loading. This design pattern enhances usability for different integration scenarios.


16-24: Robust input handling with proper type guards.

The implementation correctly distinguishes between different input types using proper type guards and handles the async config loading appropriately. The fallback to direct options ensures flexibility.


26-39: Comprehensive base ESLint configuration with proper structure.

The flat config structure correctly sets up ignores and extends recommended configurations for JavaScript, React, and MDX. The Node.js globals assignment is appropriate for the base configuration.


40-52: Smart spellcheck integration for English documentation.

The configuration intelligently targets English files (**/en/**/*.{js,jsx,md,mdx,ts,tsx}) with browser globals and merges user-provided cspell options with sensible defaults (autoFix: true). This approach provides consistent spellchecking without overwhelming other file types.


59-82: Well-configured TypeScript rules with practical defaults.

The TypeScript configuration extends recommended type-checked configs and disables overly strict rules (no-misused-promises, no-non-null-assertion) while maintaining code quality. The projectService: true setting is a modern approach for TypeScript ESLint integration.

.github/workflows/pkg-pr-new.yml (1)

35-35: Proper package manager specification for consistent CI behavior.

Adding the --packageManager=yarn flag ensures the publish command uses the correct package manager, aligning with the project's yarn v4 usage as established in the codebase.

docs/en/start.mdx (3)

15-15: Improved documentation clarity and consistency.

The grammar and phrasing improvements enhance readability while maintaining the same instructional content.

Also applies to: 27-27, 75-75


178-192: Enhanced parameter explanations with clearer examples.

The clarified explanations of the -g, --glob and -C, --copy parameters provide better guidance for users, with concrete examples that demonstrate the expected behavior.


259-282: Comprehensive linting documentation with practical setup examples.

The new linting section provides excellent guidance for integrating ESLint and CSpell with the doom configuration. The examples correctly demonstrate how to use the new @alauda/doom/eslint and @alauda/doom/cspell exports, and the .cspell directory convention is well-explained.

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances integration with the editor by unifying and streamlining configurations for ESLint and CSpell as well as improving the CLI configuration logic.

  • Introduced a unified doom function for ESLint and CSpell configuration.
  • Refactored load-config to better handle URL roots and configuration resolution.
  • Updated package exports and documentation to support the new integration.

Reviewed Changes

Copilot reviewed 11 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/eslint.ts Added a unified configuration function ("doom") leveraging multiple ESLint plugins.
src/cspell.ts Implements cspell settings generation with integrated dictionary resolution.
src/cli/load-config.ts Refactored config loading with support for URL-based roots and improved path handling.
src/cli/lint.ts Simplifies lint command by delegating configuration to the unified doom function.
package.json Updated exports to expose new ESLint and CSpell integration modules.
fixture-docs/en/test/managedtap.mdx Added documentation for network binding mode with IPv6 support.
eslint.config.js Merged doom configuration into the ESLint config with additional MDX rules.
doom.config.yml Removed obsolete lint configuration, streamlining the doom config.
cspell.config.js Exports the new cspell configuration from the integrated doom package.
.cspell/k8s.txt & .cspell/devops.txt Added dictionary files for cspell.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jun 23, 2025

Open in StackBlitz

yarn add https://pkg.pr.new/@alauda/doom@96.tgz

commit: 6f83735

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (1)
src/eslint.ts (1)

44-47: Potential type safety issue with merge and satisfies.

The combination of merge with a satisfies clause might cause TypeScript compilation issues depending on the inferred types. Consider extracting the default options to improve type safety.

-        '@cspell/spellchecker': [
-          'error',
-          merge({ autoFix: true } satisfies Partial<Options>, cspellOptions),
-        ],
+        '@cspell/spellchecker': [
+          'error',
+          merge({ autoFix: true }, cspellOptions ?? {}),
+        ],
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 391c8d8 and 6cbcba8.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (12)
  • .cspell/devops.txt (1 hunks)
  • .cspell/k8s.txt (1 hunks)
  • .github/workflows/ci.yml (1 hunks)
  • cspell.config.js (1 hunks)
  • doom.config.yml (0 hunks)
  • eslint.config.js (2 hunks)
  • fixture-docs/en/test/managedtap.mdx (1 hunks)
  • package.json (2 hunks)
  • src/cli/lint.ts (2 hunks)
  • src/cli/load-config.ts (6 hunks)
  • src/cspell.ts (1 hunks)
  • src/eslint.ts (1 hunks)
💤 Files with no reviewable changes (1)
  • doom.config.yml
✅ Files skipped from review due to trivial changes (1)
  • fixture-docs/en/test/managedtap.mdx
🚧 Files skipped from review as they are similar to previous changes (6)
  • cspell.config.js
  • .cspell/k8s.txt
  • eslint.config.js
  • src/cli/lint.ts
  • package.json
  • src/cli/load-config.ts
🧰 Additional context used
🧬 Code Graph Analysis (1)
src/cspell.ts (2)
src/cli/helpers.ts (1)
  • parseTerms (70-70)
src/terms.ts (1)
  • NormalizedTermItem (40-40)
🪛 LanguageTool
.cspell/devops.txt

[uncategorized] ~1-~1: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: katanomi tekton tektonchains tektonconfigs tekton...

(AI_DE_GGEC_UNNECESSARY_SPACE)


[uncategorized] ~2-~2: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: katanomi tekton tektonchains tektonconfigs tektonhubs te...

(AI_DE_GGEC_UNNECESSARY_SPACE)


[uncategorized] ~3-~3: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: katanomi tekton tektonchains tektonconfigs tektonhubs tektoninstaller...

(AI_DE_GGEC_UNNECESSARY_SPACE)


[uncategorized] ~4-~4: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: ...tanomi tekton tektonchains tektonconfigs tektonhubs tektoninstallersets tektonpip...

(AI_DE_GGEC_UNNECESSARY_SPACE)


[uncategorized] ~5-~5: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: ...on tektonchains tektonconfigs tektonhubs tektoninstallersets tektonpipelines tekt...

(AI_DE_GGEC_UNNECESSARY_SPACE)


[uncategorized] ~6-~6: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: ...onconfigs tektonhubs tektoninstallersets tektonpipelines tektonresults tektontrig...

(AI_DE_GGEC_UNNECESSARY_SPACE)


[uncategorized] ~7-~7: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: ...hubs tektoninstallersets tektonpipelines tektonresults tektontriggers

(AI_DE_GGEC_UNNECESSARY_SPACE)


[uncategorized] ~8-~8: Das sieht falsch platziert oder unnötig aus. Überlegen Sie, es zu löschen.
Context: ...tallersets tektonpipelines tektonresults tektontriggers

(AI_DE_GGEC_UNNECESSARY_SPACE)

🔇 Additional comments (10)
src/eslint.ts (3)

12-24: Well-designed function overloads with robust parameter handling.

The function overloads and parameter resolution logic correctly handle both direct cspell options and root path/URL scenarios. The type guards and async config loading integration look solid.


56-64: Good TypeScript rule customizations.

The TypeScript-specific rule configurations are well-chosen - disabling overly strict rules while maintaining type safety and enforcing consistent coding patterns.


38-38: Verify the specificity of the file pattern.

The pattern **/en/**/*.{js,jsx,md,mdx,ts,tsx} is quite specific, targeting only files under en directories. Ensure this aligns with your project structure and internationalization strategy.

#!/bin/bash
# Description: Check if there are files matching this pattern and if there are other language directories
echo "Files matching the pattern:"
fd -e js -e jsx -e md -e mdx -e ts -e tsx . | grep '/en/' | head -10

echo -e "\nOther potential language directories:"
fd -t d -d 2 . | grep -E '/[a-z]{2}(-[A-Z]{2})?$' | head -10
.github/workflows/ci.yml (1)

39-41: Improved CI step sequencing.

Separating the build step from the parallel execution ensures that build artifacts are available before running dependent tasks like linting and documentation generation. This change improves CI reliability.

.cspell/devops.txt (1)

1-9: Comprehensive DevOps dictionary addition.

The dictionary contains relevant DevOps and Tekton-related terms that will improve spell-checking accuracy. The static analysis hints about "unnecessary spaces" are false positives since this is a word list format, not prose text.

src/cspell.ts (5)

15-22: Robust error handling for dictionary directory resolution.

The error handling properly catches both non-existent directories and non-directory files at the expected path. The early returns prevent unnecessary processing when the .cspell directory is unavailable.


27-42: Efficient dictionary file processing.

The dictionary resolution logic correctly processes all files in the .cspell directory, creating appropriate dictionary definitions with addWords: true for dynamic word additions.


52-64: Clever case-sensitive word detection logic.

The logic to separate words based on case sensitivity is well-designed. Words with bad cases that differ only by case are handled specially with suggestions, while others are added to the regular word list.


69-79: Well-structured case-sensitive dictionary configuration.

The special case-sensitive dictionary with supportNonStrictSearches: false and suggestion mappings provides excellent spell-checking experience for terms with specific casing requirements.


81-90: Comprehensive CSpell configuration.

The returned configuration includes all necessary settings for effective spell-checking: compound words, multiple English variants, git integration, and both regular and flagged words with custom dictionaries.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (9)
docs/en/start.mdx (9)

15-17: Use consistent package manager initialization commands
Based on the project's convention of using Yarn v4 (learned from JounQin#75), consider replacing the npm init -y example with yarn init -y or including it alongside npm.


27-40: Include a lint script in package.json
The new documentation introduces doom lint, but the example scripts block omits a lint entry. Consider adding:

"lint": "doom lint"

151-152: Use consistent command tabs for Yarn
The Run \yarn serve`instruction should use the` component for consistency with other commands.


155-155: Use consistent command tabs for scaffolding
Replace the inline Run \yarn new`with` to maintain consistency across the guide.


178-186: Normalize list formatting in translation examples
Ensure nested list items are consistently indented and each item ends with a period. For example:

-  1. `yarn translate -g abc xyz` will translate all documents under `<root>/<source>/abc` and `<root>/<source>/xyz` ...
+  1. `yarn translate -g abc xyz` will translate all documents under `<root>/<source>/abc` and `<root>/<source>/xyz` respectively.

191-191: Add period to warning section
The sentence should end with a period.

-Specifically, if you use `-g '*'` for full translation, ...
+Specifically, if you use `-g '*'` for full translation, ...

195-195: Correct capitalization of "team Leader"
Lowercase "leader" for consistency with common usage.

-Please contact your team Leader to obtain it.
+Please contact your team leader to obtain it.

235-235: Use consistent command tabs for export
The Run \yarn export`example should leverage` for uniformity with other package manager commands.


261-273: Add missing colon after cspell.config.mjs
The bullet item for cspell.config.mjs lacks a trailing colon. Apply:

- - `cspell.config.mjs`
+ - `cspell.config.mjs`:
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6cbcba8 and 09d8c78.

📒 Files selected for processing (5)
  • .changeset/wicked-beds-teach.md (1 hunks)
  • docs/en/start.mdx (9 hunks)
  • docs/zh/start.mdx (1 hunks)
  • fixture-docs/en/test/managedtap.mdx (1 hunks)
  • src/cspell.ts (1 hunks)
✅ Files skipped from review due to trivial changes (2)
  • .changeset/wicked-beds-teach.md
  • docs/zh/start.mdx
🚧 Files skipped from review as they are similar to previous changes (2)
  • fixture-docs/en/test/managedtap.mdx
  • src/cspell.ts
🧰 Additional context used
🧠 Learnings (1)
docs/en/start.mdx (1)
Learnt from: JounQin
PR: alauda/doom#75
File: src/cli/load-config.ts:4-7
Timestamp: 2025-06-09T03:10:41.010Z
Learning: The alauda/doom project uses yarn v4 as the package manager, not npm. Always reference yarn commands when suggesting package management operations.
🪛 LanguageTool
docs/en/start.mdx

[uncategorized] ~153-~153: A punctuation mark might be missing here.
Context: ...eview. ### Using Scaffolding Templates {#new} Run yarn new to generate projects, ...

(AI_EN_LECTOR_MISSING_PUNCTUATION)


[uncategorized] ~261-~261: Loose punctuation mark.
Context: ...figuration files: - eslint.config.mjs: ```js import doom from '@alauda/do...

(UNLIKELY_OPENING_PUNCTUATION)

⏰ Context from checks skipped due to timeout of 90000ms (8)
  • GitHub Check: Build and Lint with Node.js 22 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 24 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 18 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 20 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 24 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 18 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 22 on ubuntu-latest
  • GitHub Check: Build and Lint with Node.js 20 on ubuntu-latest
🔇 Additional comments (2)
docs/en/start.mdx (2)

2-2: Skip sourceSHA metadata
This metadata line is auto-generated and does not require manual review.


48-48: Skip tsconfig.json creation section
The tsconfig snippet is correctly formatted and needs no review.

@JounQin JounQin force-pushed the feat/lint branch 2 times, most recently from 13989ec to 00eaf73 Compare June 23, 2025 09:37
@JounQin JounQin merged commit 189cf9e into main Jun 23, 2025
19 of 20 checks passed
@JounQin JounQin deleted the feat/lint branch June 23, 2025 10:18
github-actions bot pushed a commit that referenced this pull request Jun 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants