For AI agents: the complete documentation index is available at https://rslint.rs/llms.txt, the full documentation bundle is available at https://rslint.rs/llms-full.txt, and this page is available as Markdown at https://rslint.rs/api/presets/promise-plugin.md.
close

promisePlugin

promisePlugin exposes Rslint's built-in implementation of supported rules from eslint-plugin-promise 7.x. Its preset follows the upstream flat recommended configuration for the rules Rslint currently supports.

import { defineConfig, promisePlugin } from '@rslint/core';

export default defineConfig([promisePlugin.configs.recommended]);

Presets

PresetDescriptionView rulesSource
promisePlugin.configs.recommendedPromise rulesView rules →eslint-plugin-promise configs["flat/recommended"]

See Rules & Presets for guidance on choosing and layering presets.