UNPKG

@angablue/biome-config

Version:

A comprehensive Biome configuration package for JavaScript & TypeScript projects, with support for React.

66 lines (45 loc) • 2.31 kB
<h1 align="center">AngaBlue Biome Config šŸ§‘šŸ»ā€šŸ’»</h1> <p align="center"> <a href="https://www.npmjs.com/package/@angablue/biome-config" target="_blank"> <img alt="Downloads" src="https://img.shields.io/npm/dm/@angablue/biome-config.svg?color=blue&label=Downloads"> </a> <a href="https://www.npmjs.com/package/@angablue/biome-config" target="_blank"> <img alt="Version" src="https://img.shields.io/npm/v/@angablue/biome-config.svg?label=Version"> </a> <a href="https://github.com/AngaBlue/biome-config/blob/master/LICENSE" target="_blank"> <img alt="Licence: MIT" src="https://img.shields.io/npm/l/@angablue/biome-config?color=green&label=Licence" /> </a> </p> A comprehensive Biome configuration package for JavaScript & TypeScript projects, with support for React. ### šŸ  [Homepage](https://github.com/AngaBlue/biome-config#readme) ## Install Install this package and it's peer dependencies with your package manager of choice. ```sh npm i -D @angablue/biome-config @biomejs/biome ``` ## Usage Then create the file `biome.jsonc` in the root directory of your project with the contents: ```jsonc { "$schema": "./node_modules/@biomejs/biome/configuration_schema.json", "extends": ["@angablue/biome-config"] } ``` You may also want to add a script to your `package.json` in order to quickly lint and fix problems with your code. ```json "scripts": { "lint": "biome check --fix --error-on-warnings" } ``` Now you can, manually lint using the command `npm run lint`, while also receiving inline suggestions and warnings in your editor with the appropriate [`biome`](https://biomejs.dev/guides/editors/first-party-extensions/) extension installed. ## Author šŸ‘¤ **AngaBlue <contact@anga.blue>** - Website: https://anga.blue - Github: [@AngaBlue](https://github.com/AngaBlue) ## šŸ¤ Contributing Contributions, issues and feature requests are welcome!<br />Feel free to check [issues page](https://github.com/AngaBlue/biome-config/issues). You can also take a look at the [contributing guide](). ## Show your support Give a ā­ļø if this project helped you! ## šŸ“ License Copyright Ā© 2021 [AngaBlue <contact@anga.blue>](https://github.com/AngaBlue).<br /> This project is [MIT](https://github.com/AngaBlue/biome-config/blob/master/LICENSE) licensed.