From 6693eff6ae47e881d3b35b4554c5a0e24f5ba788 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Tue, 9 Sep 2025 06:19:32 +0800 Subject: [PATCH] fix: ensure docs reflect proper usage of new jsdoc export function --- .README/README.md | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.README/README.md b/.README/README.md index 0d46b21bb..fae493141 100644 --- a/.README/README.md +++ b/.README/README.md @@ -35,7 +35,7 @@ This is the currently recommended approach. import {jsdoc} from 'eslint-plugin-jsdoc'; export default [ - ...jsdoc({ + jsdoc({ config: 'flat/recommended', }) ]; @@ -47,7 +47,7 @@ Or with settings supplied: import {jsdoc} from 'eslint-plugin-jsdoc'; export default [ - ...jsdoc({ + jsdoc({ config: 'flat/recommended', // Uncomment this if you wish your `settings` to overwrite the config's own settings; // otherwise, the default behavior is to merge recursively diff --git a/README.md b/README.md index 79e91f6d6..b2afcd408 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ This is the currently recommended approach. import {jsdoc} from 'eslint-plugin-jsdoc'; export default [ - ...jsdoc({ + jsdoc({ config: 'flat/recommended', }) ]; @@ -66,7 +66,7 @@ Or with settings supplied: import {jsdoc} from 'eslint-plugin-jsdoc'; export default [ - ...jsdoc({ + jsdoc({ config: 'flat/recommended', // Uncomment this if you wish your `settings` to overwrite the config's own settings; // otherwise, the default behavior is to merge recursively