A package for linting and code formtting via Biome — a replacement for both ESLint and Prettier that formats and lints JavaScript, TypeScript, JSON, and CSS.
You should install and setup Biome in your project.
This package will expect a biome.json
or biome.jsonc
file at your project root. Neither linting nor formatting will function if they are not enabled in your configuration file.
Each of these is optional; you can decline to install the associated package if you don’t care about the feature.
- For automatically formatting your JavaScript and TypeScript files on save: there are no prerequisites.
- For linting your source code: linter and linter-ui-default.
- For on-demand formatting of a selected region of your code: a package that consumes the
code-format.range
service.
Because Biome implements a language server for its editor integration.
Because atom-ide-code-format
is a heavy dependency for what will be a commonly requested feature.
There are other reasons, too. The automatic reformat on save happens more gracefully when we control it, and it lets the user enable or disable the associated setting without requiring a restart of Pulsar.