diff --git a/packages/eslint-plugin/docs/no-dual-exports.md b/packages/eslint-plugin/docs/no-dual-exports.md index 246dc0cd..e17ce6b0 100644 --- a/packages/eslint-plugin/docs/no-dual-exports.md +++ b/packages/eslint-plugin/docs/no-dual-exports.md @@ -10,14 +10,11 @@ export interface ReducerOptions { tags?: string[]; } -export function reducer(definition: OASDocument, opts: ReducerOptions = {}) { +export default function reducer(definition: OASDocument, opts: ReducerOptions = {}) { /** code here */ } ``` -```js -export default class SDK {} -``` ## Pass @@ -27,7 +24,11 @@ export interface ReducerOptions { tags?: string[]; } -export default function reducer(definition: OASDocument, opts: ReducerOptions = {}) { +export function reducer(definition: OASDocument, opts: ReducerOptions = {}) { /** code here */ } ``` + +```js +export default class SDK {} +```