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

https://github.com/namchee/biome-config

Biome configuration file. Replaces ESLint
https://github.com/namchee/biome-config

Last synced: 6 months ago
JSON representation

Biome configuration file. Replaces ESLint

Awesome Lists containing this project

README

          

# @namchee/biome-config

Shareable configuration BiomeJS config for personal use. Definitely opinionated and under development.

## Installation

```bash
# Using npm
npm install -D @namchee/biome-config

# Using yarn
yarn add -D @namchee/biome-config

# Using pnpm
pnpm install -D @namchee/biome-config

# Using bun
bun install -D @namchee/biome-config
```

## Usage

You can extend your BiomeJS config using `extends` keyword.

```jsonc
{
"$schema": "https://biomejs.dev/schemas//schema.json",
"extends": ["./node_modules/@namchee/biome-config/biome.json"] // the configuration resolution doesn't work correctly in VSCode extension yet
}
```

## Compatibility

- **Use for**: JavaScript, TypeScript, React.
- **Do not use for**: HTML superlanguage projects such as Vue, Svelte, and Astro. Use [`@namchee/eslint-config`](https://github.com/Namchee/eslint-config-namchee) instead.

> [!IMPORTANT]
> Biome currently only support frontmatters and script tags when parsing HTML superlanguage files, which makes it possible to cause false alarm.

## License

This project is licensed under the [MIT License](./LICENSE)