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