55ba6ef0213ebad716ed08421ed5cea1acc446c0
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | [`9.34.0` -> `9.36.0`](https://renovatebot.com/diffs/npm/eslint/9.34.0/9.36.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>eslint/eslint (eslint)</summary> ### [`v9.36.0`](https://github.com/eslint/eslint/releases/tag/v9.36.0) [Compare Source](https://github.com/eslint/eslint/compare/v9.35.0...v9.36.0) #### Features - [`47afcf6`](47afcf668d
) feat: correct `preserve-caught-error` edge cases ([#​20109](https://github.com/eslint/eslint/issues/20109)) (Francesco Trotta) #### Bug Fixes - [`75b74d8`](75b74d865d
) fix: add missing rule option types ([#​20127](https://github.com/eslint/eslint/issues/20127)) (ntnyq) - [`1c0d850`](1c0d85049e
) fix: update `eslint-all.js` to use `Object.freeze` for `rules` object ([#​20116](https://github.com/eslint/eslint/issues/20116)) (루밀LuMir) - [`7d61b7f`](7d61b7fadc
) fix: add missing scope types to `Scope.type` ([#​20110](https://github.com/eslint/eslint/issues/20110)) (Pixel998) - [`7a670c3`](7a670c301b
) fix: correct rule option typings in `rules.d.ts` ([#​20084](https://github.com/eslint/eslint/issues/20084)) (Pixel998) #### Documentation - [`b73ab12`](b73ab12acd
) docs: update examples to use `defineConfig` ([#​20131](https://github.com/eslint/eslint/issues/20131)) (sethamus) - [`31d9392`](31d9392699
) docs: fix typos ([#​20118](https://github.com/eslint/eslint/issues/20118)) (Pixel998) - [`c7f861b`](c7f861b3f8
) docs: Update README (GitHub Actions Bot) - [`6b0c08b`](6b0c08b106
) docs: Update README (GitHub Actions Bot) - [`91f97c5`](91f97c5046
) docs: Update README (GitHub Actions Bot) #### Chores - [`12411e8`](12411e8d45
) chore: upgrade [@​eslint/js](https://github.com/eslint/js)@​9.36.0 ([#​20139](https://github.com/eslint/eslint/issues/20139)) (Milos Djermanovic) - [`488cba6`](488cba6b39
) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (Jenkins) - [`bac82a2`](bac82a2a9c
) ci: simplify renovate configuration ([#​19907](https://github.com/eslint/eslint/issues/19907)) (唯然) - [`c00bb37`](c00bb37d62
) ci: bump actions/labeler from 5 to 6 ([#​20090](https://github.com/eslint/eslint/issues/20090)) (dependabot\[bot]) - [`fee751d`](fee751dc8a
) refactor: use `defaultOptions` in rules ([#​20121](https://github.com/eslint/eslint/issues/20121)) (Pixel998) - [`1ace67d`](1ace67d9f7
) chore: update example to use `defineConfig` ([#​20111](https://github.com/eslint/eslint/issues/20111)) (루밀LuMir) - [`4821963`](4821963bf7
) test: add missing loc information to error objects in rule tests ([#​20112](https://github.com/eslint/eslint/issues/20112)) (루밀LuMir) - [`b42c42e`](b42c42e7cd
) chore: disallow use of deprecated `type` property in core rule tests ([#​20094](https://github.com/eslint/eslint/issues/20094)) (Milos Djermanovic) - [`7bb498d`](7bb498d720
) test: remove deprecated `type` property from core rule tests ([#​20093](https://github.com/eslint/eslint/issues/20093)) (Pixel998) - [`e10cf2a`](e10cf2ab42
) ci: bump actions/setup-node from 4 to 5 ([#​20089](https://github.com/eslint/eslint/issues/20089)) (dependabot\[bot]) - [`5cb0ce4`](5cb0ce48ef
) refactor: use `meta.defaultOptions` in `preserve-caught-error` ([#​20080](https://github.com/eslint/eslint/issues/20080)) (Pixel998) - [`f9f7cb5`](f9f7cb578d
) chore: package.json update for eslint-config-eslint release (Jenkins) - [`81764b2`](81764b2980
) chore: update `eslint` peer dependency in `eslint-config-eslint` ([#​20079](https://github.com/eslint/eslint/issues/20079)) (Milos Djermanovic) ### [`v9.35.0`](https://github.com/eslint/eslint/releases/tag/v9.35.0) [Compare Source](https://github.com/eslint/eslint/compare/v9.34.0...v9.35.0) #### Features - [`42761fa`](42761fa7c8
) feat: implement suggestions for no-empty-function ([#​20057](https://github.com/eslint/eslint/issues/20057)) (jaymarvelz) - [`102f444`](102f44442a
) feat: implement suggestions for no-empty-static-block ([#​20056](https://github.com/eslint/eslint/issues/20056)) (jaymarvelz) - [`e51ffff`](e51ffff737
) feat: add `preserve-caught-error` rule ([#​19913](https://github.com/eslint/eslint/issues/19913)) (Amnish Singh Arora) #### Bug Fixes - [`10e7ae2`](10e7ae23e3
) fix: update uncloneable options error message ([#​20059](https://github.com/eslint/eslint/issues/20059)) (soda-sorcery) - [`bfa4601`](bfa46013e7
) fix: ignore empty switch statements with comments in no-empty rule ([#​20045](https://github.com/eslint/eslint/issues/20045)) (jaymarvelz) - [`dfd11de`](dfd11deb24
) fix: add `before` and `after` to test case types ([#​20049](https://github.com/eslint/eslint/issues/20049)) (Francesco Trotta) - [`dabbe95`](dabbe95c39
) fix: correct types for `no-restricted-imports` rule ([#​20034](https://github.com/eslint/eslint/issues/20034)) (Milos Djermanovic) - [`ea789c7`](ea789c7dd2
) fix: no-loss-of-precision false positive with uppercase exponent ([#​20032](https://github.com/eslint/eslint/issues/20032)) (sethamus) #### Documentation - [`d265515`](d265515642
) docs: improve phrasing - "if" → "even if" from getting-started section ([#​20074](https://github.com/eslint/eslint/issues/20074)) (jjangga0214) - [`a355a0e`](a355a0e5b2
) docs: invert comparison logic for example in `no-var` doc page ([#​20064](https://github.com/eslint/eslint/issues/20064)) (OTonGitHub) - [`5082fc2`](5082fc206d
) docs: Update README (GitHub Actions Bot) - [`99cfd7e`](99cfd7e056
) docs: add missing "the" in rule deprecation docs ([#​20050](https://github.com/eslint/eslint/issues/20050)) (Josh Goldberg ✨) - [`6ad8973`](6ad8973e5d
) docs: update `--no-ignore` and `--ignore-pattern` documentation ([#​20036](https://github.com/eslint/eslint/issues/20036)) (Francesco Trotta) - [`8033b19`](8033b19529
) docs: add documentation for `--no-config-lookup` ([#​20033](https://github.com/eslint/eslint/issues/20033)) (Francesco Trotta) #### Chores - [`da87f2f`](da87f2fe79
) chore: upgrade [@​eslint/js](https://github.com/eslint/js)@​9.35.0 ([#​20077](https://github.com/eslint/eslint/issues/20077)) (Milos Djermanovic) - [`af2a087`](af2a0870fd
) chore: package.json update for [@​eslint/js](https://github.com/eslint/js) release (Jenkins) - [`7055764`](70557649e3
) test: remove `tests/lib/eslint/eslint.config.js` ([#​20065](https://github.com/eslint/eslint/issues/20065)) (Milos Djermanovic) - [`84ffb96`](84ffb9680b
) chore: update `@eslint-community/eslint-utils` ([#​20069](https://github.com/eslint/eslint/issues/20069)) (Francesco Trotta) - [`d5ef939`](d5ef939715
) refactor: remove deprecated `context.parserOptions` usage across rules ([#​20060](https://github.com/eslint/eslint/issues/20060)) (sethamus) - [`1b3881d`](1b3881d7e8
) chore: remove redundant word ([#​20058](https://github.com/eslint/eslint/issues/20058)) (pxwanglu) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xLjMiLCJ1cGRhdGVkSW5WZXIiOiI0MS4xMTYuNiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jeSJdfQ==--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/site-documentation/pulls/16 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
Starlight Starter Kit: Basics
pnpm create astro@latest -- --template starlight
🧑🚀 Seasoned astronaut? Delete this file. Have fun!
🚀 Project Structure
Inside of your Astro + Starlight project, you'll see the following folders and files:
.
├── public/
├── src/
│ ├── assets/
│ ├── content/
│ │ └── docs/
│ └── content.config.ts
├── astro.config.mjs
├── package.json
└── tsconfig.json
Starlight looks for .md
or .mdx
files in the src/content/docs/
directory. Each file is exposed as a route based on its file name.
Images can be added to src/assets/
and embedded in Markdown with a relative link.
Static assets, like favicons, can be placed in the public/
directory.
🧞 Commands
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm dev |
Starts local dev server at localhost:4321 |
pnpm build |
Build your production site to ./dist/ |
pnpm preview |
Preview your build locally, before deploying |
pnpm astro ... |
Run CLI commands like astro add , astro check |
pnpm astro -- --help |
Get help using the Astro CLI |
👀 Want to learn more?
Check out Starlight’s docs, read the Astro documentation, or jump into the Astro Discord server.
Description
Languages
JavaScript
52.5%
MDX
23.5%
Dockerfile
18%
TypeScript
6%