Skip to content

Commit a053541

Browse files
clarify things
1 parent 7020407 commit a053541

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If you've found a bug in Tailwind that you'd like to fix, [submit a pull request
4242

4343
## New features
4444

45-
If there's a new feature you'd like to see added to Tailwind, [share your idea with us](https://github.com/tailwindlabs/tailwindcss/discussions/new?category=ideas) in our discussion forum to get it on our radar as something to consider for a future release.
45+
If there's a new feature you'd like to see added to Tailwind, [share your idea with us](https://github.com/tailwindlabs/tailwindcss/discussions/new?category=ideas) in our discussion forum to get it on our radar as something to consider for a future release before starting work on it.
4646

4747
**Please note that we don't often accept pull requests for new features.** Adding a new feature to Tailwind requires us to think through the entire problem ourselves to make sure we agree with the proposed API, which means the feature needs to be high on our own priority list for us to be able to give it the attention it needs.
4848

AGENT.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Tailwind CSS Development Guide
2+
3+
## Build Commands
4+
5+
- Full build: `pnpm build`
6+
- Development: `pnpm dev`
7+
- Format code: `pnpm format`
8+
- Lint: `pnpm lint`
9+
- Run all tests: `pnpm test` (combines Rust and JS tests)
10+
- Run integration tests: `pnpm test:integrations`
11+
- Run UI tests: `pnpm test:ui`
12+
- Run tests in watch mode: `pnpm tdd`
13+
- Run a single test: `vitest --file <path-to-test-file>`
14+
15+
## Code Style Guidelines
16+
17+
- TypeScript-first codebase with Rust specific parts for the Oxide extractor
18+
- Prettier for formatting with semi: false, singleQuote: true, printWidth: 100
19+
- Use organized imports (prettier-plugin-organize-imports)
20+
- Prefer explicit typing with TypeScript interfaces
21+
- Cross-platform compatibility (especially Windows vs Unix line endings)
22+
- For text templates, use the dedicated helpers: svg, css, html, ts, js, jsx, json, yaml, txt
23+
- Tests use "vitest" framework with custom utilities from integrations/utils.ts

0 commit comments

Comments
 (0)