build(deps-dev): Bump @biomejs/biome from 2.6.8 to 2.6.9
Bumps @biomejs/biome from 2.6.8 to 2.6.9.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.6.9
2.6.9
Patch Changes
#13192
d9e86abThanks@dyc3! - Added the nursery rulenoArrayDelete. It reports thedeleteoperator used on array elements, which leaves an empty slot in the array instead of removing the element. The rule needs type information, and offers an unsafe fix that replaces thedeletewith asplice()call.declare const array: number[]; delete array[0];#13209
4408dd4Thanks@dyc3! - Added the nursery rulenoExpectToHaveBeenCalledOnce, which reportstoHaveBeenCalledOnce()andtoBeCalledOnce()assertions and suggeststoHaveBeenCalledTimes(1)andtoBeCalledTimes(1)instead. The rule belongs to thetestdomain.expect(sendEmail).toHaveBeenCalledOnce();#13217
c0dc090Thanks@dyc3! - Added the new nursery rulenoImmediateMutation, which reports arrays, objects,Sets, andMaps that are changed in the statement right after they are created, and variables that are assigned right after they are declared.const array = [1, 2]; array.push(3); // reported: write `[1, 2, 3]` instead
let foo; foo = 1; // reported: writelet foo = 1instead#13120
54eb224Thanks@dyc3! - Added the nursery rulenoJasmineGlobals, which reports Jasmine globals in Jest tests, such asspyOn(),fail(),pending(), and thejasmineobject. Jest's default test runner doesn't provide them.jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;#13122
6e2b42eThanks@dyc3! - Added the nursery rulenoReturnInTest, which reportsreturnstatements directly inside the body of a test function. The rule belongs to thetestdomain.test("adds two numbers", () => { return expect(add(1, 2)).toBe(3); });#13161
37692e2Thanks@dyc3! - Added the nursery rulenoTailwindConflictingClasses, which reports Tailwind CSS classes that set the same CSS properties on an element. Only one of the conflicting classes takes effect, so the other one does nothing.<div className="flex grid" />;#13119
0cc8548Thanks@dyc3! - Added the nursery rulenoTestGlobals, which reports Jest and Vitest APIs that are used as global variables instead of being imported.
... (truncated)
Commits
cfef425ci: release (#13202)31fad4afeat(lint): add BiomePlugin domain, add useBiomeKindSets and useBiomeTopLevel...e2a8e85feat(astro): disallow component default exports (#13013)a1c2950feat(lint): add noUselessDefaultAssignment (#13216)c0dc090feat(lint): add noImmediateMutation (#13217)3677e52feat(lint): add useTanstackQueryExhaustiveDependencies (#13215)32f5c05feat(lint): add useTanstackQueryMutationPropertyOrder (#13212)aaf89d6feat(lint): add useExpectEqualityMatcher (#13211)4408dd4feat(lint): add noExpectToHaveBeenCalledOnce (#13209)c4d56befeat(lint): add noCanvasToImage (#13208)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)