Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Goldberg ✨ <git@joshuakgoldberg.com>
  • Loading branch information
arka1002 and JoshuaKGoldberg committed Apr 26, 2024
1 parent 346fed1 commit 9a76d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-plugin/docs/rules/no-require-imports.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ console.log(require('../package.json').version);

### `allowAsImport`

If it's set to `true`, the require statements with an `import` declaration won't be reported.
When set to `true`, require statements with an `import` declaration won't be reported.
This is useful if you're on an older CommonJS-style codebase and haven't been able to transition to ESM-style imports yet.

With `{allowAsImport: true}`:
Expand Down

0 comments on commit 9a76d9e

Please sign in to comment.