TypeScript
To configure oxlint for with our pre-configured TypeScript rules, simply add the following code to your oxlint configuration file (.oxlintrc.json):
Hint
oxlint's TypeScript plugin is enabled by default. It doesn't need to be enabled by adding it to plugins inside your configuration file (see our example below).
.oxlintrc
json
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"extends": [
"./node_modules/@ogs-gmbh/oxlint-presets/typescript-recommended.json"
]
}