An open API service indexing awesome lists of open source software.

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. 🐺

Awesome Lists containing this project

README

          


Icon of Config for Biome

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. β˜•




Donate to igorskyflyer




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/)).