-
-
Notifications
You must be signed in to change notification settings - Fork 11
docs: add step with example selector for new language #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…rySelectorPlaceholder
✅ Deploy Preview for eslint-code-explorer ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
esquerySelectorPlaceholder
esquerySelectorPlaceholder
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, Thanks!
Would like one more review before merging.
@@ -23,6 +23,7 @@ Add an SVG logo into the `public/languages/` directory. | |||
1. Default the default code for the new language (such as `defaultJsonCode` or `defaultCssCode`). | |||
1. Add an entry in the `defaultCode` variable for the new language's default code. | |||
1. Export a variable containing the default options for the new language (such as `defaultJsonOptions` or `defaultCssOptions`). | |||
1. Add an entry to the `esquerySelectorPlaceholder` constant for the new language, using an appropriate example selector. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great if we could actually link to where exactly this is in code? That would be better for someone newly exploring the repo? WDYT
Just to double-check, are the rest of the steps still accurate? |
…rySelectorPlaceholder
Prerequisites checklist
What is the purpose of this pull request?
What changes did you make? (Give an overview)
update docs to ensure it's up-to-date with all of the required steps
Related Issues
Is there anything you'd like reviewers to focus on?