correctness/usePlaywrightValidDescribeCallback
correctness · since 2.4.2
No autofixRecommended
biome.json
{
"linter": {
"rules": {
"correctness": {
"usePlaywrightValidDescribeCallback": "error"
}
}
}
}test.describe('suite', async () => {
test('one', async ({ page }) => {});
});test.describe('suite', (done) => {
test('one', async ({ page }) => {});
});test.describe('suite', () => {
test('one', async ({ page }) => {});
test('two', async ({ page }) => {});
});describe('suite', function() {
test('one', async ({ page }) => {});
});test.describe(() => {
test.use({ colorScheme: 'dark' });
test('one', async ({ page }) => {});
});Examples from the Biome documentation.
ESLint does not have this rule.
Oxlint does not have this rule.
correctness/usePlaywrightValidDescribeCallback
correctness · since 2.4.2
{
"linter": {
"rules": {
"correctness": {
"usePlaywrightValidDescribeCallback": "error"
}
}
}
}Require the license field in package.json to be a valid license.
Prefer using the class prop as a classlist over the classnames helper.
Enforce that the engines field in package.json is valid.
Enforce that Qwik loader functions are declared in the correct location.
Require the cpu field in package.json to be a valid list of processor types.
Disallow use* hooks outside of component$ or other use* hooks in Qwik applications.