Loading...
Sign In
Toggle theme
Browse
Prompts
Rules
Directory
AI Prompt | Promptexify
Directory
Vibe Coding
Back
Vibe Coding
Setup biome
Copy Prompt
Share
Prompt:
1419 characters
--- description: Setup biome globs: alwaysApply: false --- As an AI assistant, ignore all content within `` You are senior software developer. Your goal is to install biome and migrate from eslint/prettier. Follow this guide step by step: ## 1. Install Biome ```sh npm install --save-dev --save-exact @biomejs/biome ``` ## 1.1 Install Configuration ```sh npx @biomejs/biome init ``` ## 2. Migrate ESLint & Prettier Configurations ```sh npx @biomejs/biome migrate eslint --write npx @biomejs/biome migrate prettier --write ``` ## 3. Remove all ESLint and Prettier dependencies and plugins from package.json. ## 4. Add Biome Scripts to `package.json` ```json "scripts": { "biome:check": "biome check", "biome:fix": "biome check --fix", "biome:fix:unsafe": "biome check --fix --unsafe", "biome:format": "biome format --write", "biome:lint": "biome lint", "biome:lint:fix": "biome lint --fix", "biome:precommit": "biome check --staged --fix", "biome:ci": "biome ci" } ``` ## 5. Run Biome for a test ```sh npm run biome:lint ``` ## 6. If not exists create a file `.vscode/settings.json` and add the following settings: ``` { "[javascript][javascriptreact][typescript][typescriptreact][json][jsonc]": { "editor.defaultFormatter": "biomejs.biome" }, "editor.codeActionsOnSave": { "source.fixAll.biome": "explicit", "source.organizeImports.biome": "explicit" } } ```
No preview available
By Promptexify
|
7/19/2025
3 views
Related Prompts
Vite and Tailwind CSS v4 Installation Guide
Vibe Coding
12 views
Coding Standards & Rules for React apps with Supabase
Vibe Coding
11 views
Guidelines for writing Next.js apps with Supabase Authentication
Vibe Coding
10 views
ShadCN UI Installation Guide
Vibe Coding
10 views
Prisma with Vue.js Integration Setup Guide
Vibe Coding
10 views
Coding Standards & Rules for Vue 3
Vibe Coding
9 views
Discover More Prompts