2.0.1 • Published 12 months ago

@rmtc/plugin-biome v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@rmtc/plugin-biome

A Biome plugin for @rmtc/toolchain.

!WARNING This project is intended for use in @rowanmanning's projects. It's free to use but I don't offer support for use-cases outside of what I need.

Table of Contents

Requirements

This library requires the following to run:

Usage

Install the module with npm:

npm install --save-dev @rmtc/plugin-biome

Include it in your .rmtc.json file:

{
    plugins: [
        // ...
        '@rmtc/plugin-biome'
    ]
    // ...
}

Workflows

This plugin defines the following workflows:

  • format: a general workflow used to automatically format code.

  • verify: a general workflow used to verify code quality.

Steps

This plugin defines the following steps that can be added to any workflow:

  • biome:format: run the biome format command-line tool on the whole project with the --write flag, so that formatting changes are applied in place.

  • biome:lint: run the biome lint command-line tool on the whole project.

E.g. if you prefer to define a lint workflow, use the following:

{
    plugins: ['@rmtc/plugin-biome'],
    workflows: {
        lint: ['biome:lint']
    }
}

Configuration

This plugin provides no additional configuration. To configure the way that the biome command-line tool runs, you should use one of the configuration methods that they suggest.

Contributing

See the central README for a contribution guide and code of conduct.

License

Licensed under the MIT license. Copyright © 2023, Rowan Manning

2.0.1

12 months ago

2.0.0

1 year ago

1.0.0

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago