close

unicornPlugin

unicornPlugin exposes Rslint's built-in implementation of supported rules from eslint-plugin-unicorn 73.x. Its preset follows the upstream recommended configuration for the rules Rslint currently supports.

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

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

Presets

PresetDescriptionView rulesSource
unicornPlugin.configs.recommendedUnicorn rulesView rules →eslint-plugin-unicorn configs.recommended

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