@ezpaarse-project/oxlint-config
v0.3.2
Published
oxlint configuration for projects of this organisation
Keywords
Readme
@ezpaarse-project/oxlint-config
How to use
JavaScript
- Add dev dependencies
npm i -D oxlint @ezpaarse-project/oxlint-config- Add base configuration to
extends
You'll need to have the configuration file created.
You can refer to documentation
Using .oxlintrc.json
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": ["./node_modules/@ezpaarse-project/oxlint-config/js.config.jsonc"]
}Using oxlint.config.ts / Vite+
import oxlintConfig from "@ezpaarse-project/oxlint-config/js";
export default defineConfig({
extends: [oxlintConfig],
});TypeScript
- Add dev dependencies
npm i -D oxlint @ezpaarse-project/oxlint-config- Add base configuration to
extends
You'll need to have the configuration file created.
You can refer to documentation
Using .oxlintrc.json
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": ["./node_modules/@ezpaarse-project/oxlint-config/ts.config.jsonc"]
}Using oxlint.config.ts / Vite+
import oxlintConfig from "@ezpaarse-project/oxlint-config/ts";
export default defineConfig({
extends: [oxlintConfig],
});