A shareable Oxfmt configuration.
Install this package as a dependency in the project:
# npm
npm i @apst/oxfmt
# Yarn
yarn add @apst/oxfmt
# pnpm
pnpm add @apst/oxfmt
# Bun
bun add @apst/oxfmtImplement the configuration into oxfmt.config.ts:
import { defineConfig } from "@apst/oxfmt";
export default defineConfig();It is possible to override the default configuration by passing an object to the defineConfig function:
import { defineConfig } from "@apst/oxfmt";
import { IGNORE_PATTERNS_DEFAULT } from "@apst/oxfmt/constants/ignore-patterns";
export default defineConfig({
ignorePatterns: [
...IGNORE_PATTERNS_DEFAULT,
// ...
],
});This project is licensed under the terms of the MIT license.