Skip to content

Commit 5f6c7d7

Browse files
authored
Update
1 parent 2e914df commit 5f6c7d7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

AGENTS.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Changes should generally be scoped to the `front_end/` directory. Do not edit `f
77
## Guidelines
88

99
- Make minimal edits. No speculative refactors.
10-
- Run `npm test` (unit tests) and `npm run lint` (ESLint, Stylelint, lit-analyzer) to validate changes.
1110
- Use `.js` extensions in TypeScript imports. Use `type` imports where possible (`import type`).
1211
- New files in Meta-owned paths must prepend `// Copyright (c) Meta Platforms, Inc. and affiliates.` as the first line of the license header, above the Chromium Authors license. Keep in sync with `META_CODE_PATHS` in `scripts/eslint_rules/lib/check-license-header.js`.
1312

@@ -23,7 +22,7 @@ Each module directory has a `BUILD.gn` file. Update these when adding new files
2322

2423
## Architecture
2524

26-
- **UI components** extend `HTMLElement`, use Lit `html` templates (from `../../ui/lit/lit.js`), and locate styles in one adjacent CSS file. Prefix custom elements with `devtools-`. Example: `front_end/ui/components/cards/Card.ts`.
25+
- **UI components** extend `HTMLElement`, use Lit `html` templates (from `front_end/ui/lit/lit.js`), and locate styles in one adjacent CSS file. Prefix custom elements with `devtools-`. Example: `front_end/ui/components/cards/Card.ts`.
2726
- **Panels** extend `UI.Widget.VBox` and are registered via a `-meta.ts` file using `UI.ViewManager.registerViewExtension()`, which lazily loads the panel implementation.
28-
- **Entrypoints**: `front_end/entrypoints/rn_fusebox/` is the primary RN entry point.
27+
- **Entrypoints**: `front_end/entrypoints/rn_fusebox/` is the primary React Native entry point.
2928
- **RN-specific code** lives in paths listed in `META_CODE_PATHS` (e.g. `panels/rn_welcome/`, `panels/react_devtools/`, `models/react_native/`, `core/rn_experiments/`).

0 commit comments

Comments
 (0)