Aller au contenu

Domains

Ce contenu n’est pas encore disponible dans votre langue.

Use this domain inside Next.js projects.

Enable the recommended, non-nursery rules of the domain:

biome.json
{
"linter": {
"domains": {
"next": "recommended"
}
}
}

Enabled the all rules of the domain:

biome.json
{
"linter": {
"domains": {
"next": "all"
}
}
}

Disable all rules of the domain:

biome.json
{
"linter": {
"domains": {
"next": "none"
}
}
}

Enabled when the following dependencies are declared:

  • next: >=14.0.0

Rules that belong to the domain:

Use this domain inside Playwright test projects. This domain enables rules that help enforce best practices and catch common mistakes when writing Playwright tests.

Enable the recommended, non-nursery rules of the domain:

biome.json
{
"linter": {
"domains": {
"playwright": "recommended"
}
}
}