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