https://github.com/igorskyflyer/npm-biome-config
π½ An opinionated config for Biome to be used in JavaScript, TypeScript, JSX, TSX and any JavaScript-related projects. πΊ
https://github.com/igorskyflyer/npm-biome-config
back-end biome config format formatter igorskyflyer javascript js jsx lint linter react ts tsx typescript
Last synced: about 2 months ago
JSON representation
π½ An opinionated config for Biome to be used in JavaScript, TypeScript, JSX, TSX and any JavaScript-related projects. πΊ
- Host: GitHub
- URL: https://github.com/igorskyflyer/npm-biome-config
- Owner: igorskyflyer
- License: mit
- Created: 2024-07-28T13:18:16.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-28T14:38:02.000Z (2 months ago)
- Last Synced: 2025-08-28T20:58:22.632Z (2 months ago)
- Topics: back-end, biome, config, format, formatter, igorskyflyer, javascript, js, jsx, lint, linter, react, ts, tsx, typescript
- Homepage: https://www.npmjs.com/package/@igorskyflyer/biome-config
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Support: SUPPORT.md
Awesome Lists containing this project
README
Config for Biome
By igorskyflyer (Igor DimitrijeviΔ)
π½ An opinionated config for Biome to be used in JavaScript, TypeScript, JSX, TSX and any JavaScript-related projects. πΊ
## π Table of Contents
- [Features](#-features)
- [Usage](#-usage)
- [Changelog](#-changelog)
- [Support](#-support)
- [License](#-license)
- [Related](#-related)
- [Author](#-author)
## π€ Features
- β
Strict linting rules for **correctness**, **performance**, and **style**
- π **Auto-import** organization to maintain **clean** module structure
- π¨ Custom **formatting** for **JSON** & **JavaScript**/**TypeScript** with **single** quotes, **LF** endings, and **space** indentation
- π§ **Complexity** warnings to reduce cognitive **overload** and improve logic **clarity**
- β‘ **Performance**-focused rules blocking barrel files and re-export-all patterns
- π Enforced **filenaming** **conventions** with strict casing and ASCII requirements
- π‘οΈ **Suspicious** **behavior** checks including console usage, overload signatures, and error messaging
- βοΈ **Mo** **trailing** commas or **unnecessary** semicolons for **cleaner** output
- π§Ή Catches **unused** imports, variables, and class members before they **clutter** your codebase
- π **Supports** adjacent **overloads** & explicit length checks for **precise** **design** **patterns**
## π΅πΌ Usage
Install it by executing any of the following, depending on your preferred package manager:
```bash
pnpm add -D @igorskyflyer/biome-config
```
```bash
yarn add -D @igorskyflyer/biome-config
```
```bash
npm i -D @igorskyflyer/biome-config
```
then extend the project's `biome.json` file from it, i.e.:
`biome.json`
```jsonc
{
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
"extends": ["@igorskyflyer/biome-config"]
// Additional project-specific configuration
}
```
## π Changelog
π The changelog is available here, [CHANGELOG.md](https://github.com/igorskyflyer/npm-biome-config/blob/main/CHANGELOG.md).
## πͺͺ License
Licensed under the MIT license which is available here, [MIT license](https://github.com/igorskyflyer/npm-biome-config/blob/main/LICENSE).
## π Support
I work hard for every project, including this one and your support means a lot to me!
Consider buying me a coffee. β
Thank you for supporting my efforts! ππ
## 𧬠Related
[@igorskyflyer/zing](https://www.npmjs.com/package/@igorskyflyer/zing)
> _π Zing is a C# style String formatter for JavaScript that empowers Strings with positional arguments - composite formatting. π_
[@igorskyflyer/comment-it](https://www.npmjs.com/package/@igorskyflyer/comment-it)
> _π Formats the provided string as a comment, either a single or a multi line comment for the given programming language. π»_
[@igorskyflyer/my-file-path](https://www.npmjs.com/package/@igorskyflyer/my-file-path)
> _π An npm module that strongly types file paths! π₯_
[@igorskyflyer/simple-exec](https://www.npmjs.com/package/@igorskyflyer/simple-exec)
> _πΊ Command. Execution. Made. Simple. βΆ_
[@igorskyflyer/astro-easynav-button](https://www.npmjs.com/package/@igorskyflyer/astro-easynav-button)
> _π§ Add an easy-to-use navigational button (jump to top/bottom) to your Astro site. πΌ_
## π¨π»βπ» Author
Created by **Igor DimitrijeviΔ** ([*@igorskyflyer*](https://github.com/igorskyflyer/)).