Promise
To configure oxlint for with our pre-configured Promise rules, simply add the following code to your oxlint configuration file (.oxlintrc.json):
Hint
oxlint's Promise 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": [
"promise"
]
"extends": [
"./node_modules/@ogs-gmbh/oxlint-presets/promise-recommended.json"
]
}