fix: husky, remove prettier and eslint, replace with biome.#112
Merged
fix: husky, remove prettier and eslint, replace with biome.#112
Conversation
…files - Updated import statements and string literals in content.ts, documents.ts, icons.ts, main.ts, navigation.ts, and other files to use single quotes for consistency. - Cleaned up whitespace and formatting in various functions and methods for improved readability. - Added a new biome.json configuration file for code formatting and linting rules.
- Updated documents.json with new content, improved SEO metadata, and fixed Mermaid component issues. - Refactored tsconfig.scripts.json to simplify configuration. - Added .biomeignore to exclude dist directory from biome. - Introduced content.js script to process MDX files into JSON format, including slug creation, content cleaning, and metadata extraction.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Sorry @rubixvi, your pull request is larger than the review limit of 150000 diff characters
…ration - Introduced a new script to convert MDX files into a JSON format for search indexing. - Updated TypeScript configuration to support module path aliases.
…rrect module paths
…ing unnecessary steps
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request primarily standardizes import statements across the codebase to use single quotes instead of double quotes, and refines path joining logic to use forward slashes consistently. Additionally, it improves ignore file handling and post-processing scripts for build artifacts. These changes enhance code consistency, maintainability, and build reliability.
Code consistency improvements:
app/layout.tsx,app/error.tsx,components/anchor.tsx, etc.) to use single quotes instead of double quotes. This affects both internal and external imports. (app/docs/[[...slug]]/page.tsxL1-R17, [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]'/'instead of double quotes or backslashes, ensuring consistency in URL and file path construction. (app/docs/[[...slug]]/page.tsxL39-R45, app/docs/[[...slug]]/page.tsxL93-R88, [1] [2]Build and ignore file handling:
dist/,dist/**, andpublic/search-datato.biomeignoreto prevent build artifacts and search data from being processed by Biome..prettierignoreto streamline ignored files and folders.Post-processing and CI script updates:
.husky/post-process.sh) and its invocation in.husky/pre-commitfor reliability and clarity. [1] [2].github/workflows/ci.ymlto update import paths more robustly in build artifacts, handling multiple import cases and removing unnecessary error handling.