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.