@igor.dvlpr/biome-config-igorskyflyer
Version:
π½ An opinionated config for Biome to be used in JavaScript, TypeScript, JSX, TSX and any JavaScript-related projects. πΊ
132 lines (91 loc) β’ 3.93 kB
Markdown
<div align="center">
<img src="https://raw.githubusercontent.com/igorskyflyer/npm-biome-config-igorskyflyer/main/assets/icon.png" alt="Config for Biome logo" width="256" height="256">
<h1>Config for Biome</h1>
<h4>By igorskyflyer (Igor DimitrijeviΔ)</h4>
</div>v
<br>
<div align="center">
π½ An opinionated config for Biome to be used in JavaScript,
<br>
TypeScript, JSX, TSX and any JavaScript-related projects. πΊ
</div>
<br>
<br>
<div align="center">
<blockquote>
<br>
<h4>π Support further development</h4>
<span>I work hard for every project, including this one
<br>
and your support means a lot to me!
<br>
<br>
Consider buying me a coffee. β
<br>
<strong>Thank you for supporting my efforts! ππ</strong></span>
<br>
<br>
<a href="https://ko-fi.com/igorskyflyer" target="_blank"><img src="https://raw.githubusercontent.com/igorskyflyer/igorskyflyer/main/assets/ko-fi.png" alt="Donate to igorskyflyer" width="150"></a>
<br>
<br>
<a href="https://github.com/igorskyflyer"><em>@igorskyflyer</em></a>
<br>
<br>
<br>
</blockquote>
</div>
<br>
<br>
## π 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
- βοΈ **no** **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**
<br>
## π΅πΌ Usage
Install it by executing:
```shell
npm i -D "@igor.dvlpr/biome-config-igorskyflyer"
```
then extend the project's `biome.json` file from it, i.e.:
<br>
`biome.json`
```jsonc
{
"$schema": "https://biomejs.dev/schemas/2.1.2/schema.json",
"extends": ["@igor.dvlpr/biome-config-igorskyflyer"]
// Additional project-specific configuration
}
```
---
## π Changelog
π The changelog is available here: [CHANGELOG.md](https://github.com/igorskyflyer/npm-biome-config-igorskyflyer/blob/main/CHANGELOG.md).
---
## πͺͺ License
Licensed under the MIT license which is available here, [MIT license](https://github.com/igorskyflyer/npm-biome-config-igorskyflyer/blob/main/LICENSE).
---
## 𧬠Related
[@igor.dvlpr/zing](https://www.npmjs.com/package/@igor.dvlpr/zing)
> _π Zing is a C# style String formatter for JavaScript that empowers Strings with positional arguments - composite formatting. π_
<br>
[@igor.dvlpr/comment-it](https://www.npmjs.com/package/@igor.dvlpr/comment-it)
> _π Formats the provided string as a comment, either a single or a multi line comment for the given programming language. π»_
<br>
[@igor.dvlpr/my-file-path](https://www.npmjs.com/package/@igor.dvlpr/my-file-path)
> _π An npm module that strongly types file paths! π₯_
<br>
[@igor.dvlpr/simple-exec](https://www.npmjs.com/package/@igor.dvlpr/simple-exec)
> _πΊ Command. Execution. Made. Simple. βΆ_
<br>
[@igor.dvlpr/astro-easynav-button](https://www.npmjs.com/package/@igor.dvlpr/astro-easynav-button)
> _π§ Add an easy-to-use navigational button (jump to top/bottom) to your Astro site. πΌ_
---
<br>
### π¨π»βπ» Author
Created by **Igor DimitrijeviΔ** ([*@igorskyflyer*](https://github.com/igorskyflyer/)).