Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fasttime
Copy link
Member

@fasttime fasttime commented Jul 1, 2024

Prerequisites checklist

What is the purpose of this pull request? (put an "X" next to an item)

[X] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)

This PR removes a code example from the loadESLint() API docs. The example was using an unsupported option cwd, suggesting that loadESLint() could be used to determine the ESLint constructor for a specified directory.

Is there anything you'd like reviewers to focus on?

@fasttime fasttime requested a review from a team as a code owner July 1, 2024 16:34
@eslint-github-bot eslint-github-bot bot added the documentation Relates to ESLint's documentation label Jul 1, 2024
Copy link

netlify bot commented Jul 1, 2024

Deploy Preview for docs-eslint ready!

Name Link
🔨 Latest commit c1d0c02
🔍 Latest deploy log https://app.netlify.com/sites/docs-eslint/deploys/6682da82271ab4000878b9c2
😎 Deploy Preview https://deploy-preview-18641--docs-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@snitin315 snitin315 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@snitin315 snitin315 merged commit 6e79ac7 into main Jul 1, 2024
@snitin315 snitin315 deleted the fix-loadESLint-docs branch July 1, 2024 17:44
@eslint-github-bot eslint-github-bot bot locked and limited conversation to collaborators Dec 29, 2024
@eslint-github-bot eslint-github-bot bot added the archived due to age This issue has been archived; please open a new issue for any further discussion label Dec 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived due to age This issue has been archived; please open a new issue for any further discussion documentation Relates to ESLint's documentation
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants