next.js
Disallow multiple server directives at the same level (file or function)
#73018
Merged
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Overview
Commits
8
Changes
View On
GitHub
Commits
Disallow multiple server directives at the same level (file or function)
unstubbable
committed
1 year ago
Extract `get_directive_for_stmt` function
unstubbable
committed
1 year ago
Use `get_directive_for_stmt` for module directives
unstubbable
committed
1 year ago
Add test fixtures for directive in parantheses check
unstubbable
committed
1 year ago
Add test fixtures for conflicting directives
unstubbable
committed
1 year ago
Remove unnecessary dereferences
unstubbable
committed
1 year ago
Use a `DirectiveVisitor` struct to encapsulate stmt iteration state
unstubbable
committed
1 year ago
Use a boolean instead of passing `&self.file_directive`
unstubbable
committed
1 year ago
Loading