* Thu Oct 17 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to version 1.9.4:
* see https://github.com/biomejs/biome/releases/tag/cli%2Fv1.9.4
* Sun Oct 06 2024 Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
- add _service
- remove cargo_config
- add vendor.tar.zst
- update to version 1.9.3:
* fix: add missing word
* perf(linter): remove unneeded memory allocation for str
* fix(lint): options for `noLabelWithoutControl` are optional
* feat(useExhaustiveDependencies): add option to disable errors for unecessary dependencies
* fix(noUnusedVariables): don't panic when renaming ref at the start
* chore: setup GritQL benchmark
* feat(useExplicitFunctionReturnType): support higher-order function
* feat(biome_css_analyze): implement `noDescendingSpecificity`
* ci: update codspeed action
* fix(noMisleadingCharacterClass): properly handle escaping and improve diagnostics
* chore(deps): update @biomejs packages
* chore(deps): update dependency @typescript-eslint/eslint-plugin to v8.7.0
* chore(deps): update rust:1.81.0 docker digest to a21d540
* chore(deps): update actions/checkout action to v4.2.0
* chore(deps): update rust crate oxc_resolver to 1.12.0
* chore(deps): update dependency eslint to v9.11.1
* chore(deps): update pnpm to v9.11.0
* feat(formatter): implement formatting for GritQL root node
* fix(bench): typo in `.prettierignore`
* fix(deps): update rust crate libc to 0.2.159
* fix(js-api): update code
* fix(formatter): trim CSS raw values
* fix(cli): don't error in stdin, with `--write`
* fix: updated query feature range interval format
* docs: fix `isNan` to `isNaN`
* fix(lsp): correctly enable CSS on LSP
* chore: to_lowercase -> to_lowercase_cow
* feat(biome_js_parser): forbid undefined as type name
* fix(noMisleadingCharacterClass): ignore characters outside of char classes
* fix(linter): apply `useExplicitFunctionReturnType` only to TypeScript…
* fix(noUndeclaredDependencies): ignore NodeJS modules
* fix(noUselessEscapeInRegex): don't panic on regexes starting with an empty class
* chore: update CHANGELOG.md
* perf: iterate over bytes instead of chars where possible
* feat(grit): implement disregarded snippet nodes
* fix(schema): make optional the `options` JSON schema field
* feat(linter): implement noTemplateCurlyInString
* fix(useSemanticElements): examples
* fix(useSemanticElements): check only elements associated to a role
* fix(useButtonType): don't report dynamically created button with valid type
* fix(format/html): keep at most 1 empty line between elements
* feat(linter): implement no-nested-ternary
* feat(markdown/parser): support thematic break block parser
* refactor(parser/html): refactor comments to be nodes in the tree
* fix(noUnusedFunctionParameters): ignore params in obj pattern with a rest param
* fix(noUselessStringConcat): don't panic on malformed code
* fix(linter): noUselessFragments fix creates invalid CST
* refactor(aria_metadata): generate ARIA metadata from specification
* docs: fix markdown link in CHANGELOG.md
* perf(linter): performance improvement for css semantic model
* perf(grit): use `to_ascii_lowercase_cow`
* test(format/grit): add tests for grit formatter
* feat(linter): support allow expressions
* fix(deps): update rust crate rand to 0.8.5
* chore(deps): update rust crate bpaf to 0.9.14
* chore(deps): update actions/setup-node action to v4.0.4
* chore(deps): update @biomejs packages
* feat(html): resolve format options
* fix(parser/html): add `param` to void elements list
* feat(html): implement debug features for html
* feat(lsp): `noExcessiveCognitiveComplexity` diagnostic shows levels
* feat(linter): support direct const assertions in useExplicitFunctionReturnType rule
* fix(parser/html): allow multi line attribute values
* feat(linter): implement useExplicitFunctionReturnType
* chore: fix udeps failure
* chore: enforce usage of to_ascii_lowercase_cow
* fix(graphql_formatter): panic in block comments with empty line
* chore(cli): replace PanicInfo -> PanicHookInfo
* fix(parser/html): fix incorrect parsing when text starts with a quote
* feat(formatter/html): add line break at the end of files
* feat: add additional `FeatureKind` entries for debug features
* chore(readme): use polar shield
* feat(html/formatter): self close tag add slash char
* fix(html/parser): support root element list
* feat(grit): implement GritQL log() function
* feat(linter): implement noOctalEscape
* docs: improve documentation of rule
* refactor(lint): set version field for new rules
* test(format/html): reenable snapshot tests
* chore: move Grit changes in CHANGELOG
* chore: add Grit updates to CHANGELOG
* fix(grit): fix node walking
* feat(grit): implement Grit built-ins
* fix(noLabelWithoutControl): accept expressions as label
* feat(lint): add rule `useComponentExportOnlyModules`
* feat(grit): support for Grit pattern, predicate and function definitions
* feat(html): add `experimental-html` feature flag to enable html file handler
* build: upgrade to Rust 1.81
* fix(lsp): code actions capabilities
* feat(parser/html): handle script and style tags
* feat(parser/html): parse doctype declarations
* feat(parser/html): lex and parse unquoted attribute values
* feat(markdown): support markdown grammar code generation
* fix(format/html): fix doctype formatting
* fix(format/html): keep single quotes if string contains a double quote
* fix(parser/html): check void element names case insensitively
* chore(deps): update dependency vite to v5.4.6 [security]
* fix(useFilenamingConvention): apply formats to file extensions
* fix(useFilenamingConvention): allow leading digits in lower-like cases
* feat(linter): add noMissingVarFunction
* fix(useFilenamingConvention): don't suggest names with disallowed case
* feat(format/html): port `JsxChildList` formatting to `HtmlElementList`
* fix(lsp): reduced the number of log files on disk
* test: fix outdated snapshot tests
* fix(useStrictMode): check actual directives
* fix(lsp): apply `.editorconfig` options
* fix: preserve other children in `useConsistentCurlyBraces`
* fix(config): handle `unset` and `off` values in editorconfig files
* fix(css_parser): accept U+FDCF and U+FFFD in identifiers
* fix(parser/html): fix whitespace being lexed as html literal
* chore(deps): update rust crate anyhow to 1.0.89
* chore(deps): update rust crate serde to 1.0.210
* chore(deps): update @biomejs packages
* fix(cli): use correct list of evaluated paths
* chore(deps): update dependency @typescript-eslint/eslint-plugin to v8.5.0
* chore(deps): update rust crate dashmap to 6.1.0
* chore(deps): update rust crate insta to 1.40.0
* fix: re-implement #3856 to improve correctness
* chore(deps): update rust docker tag to v1.81.0
* chore(deps): update rust crate tokio to 1.40.0
* chore(deps): update dependency eslint to v9.10.0
* docs(readme): add zh-tw readme translation
* feat(format/grit): grit formatter initial configuration
* chore(deps): update rust crate serde_json to 1.0.128
* fix(deps): update rust crates
* chore: update biome version of rules
* revert: "feat(lsp): add codeActionKinds"
* chore: remove sponsor
* fix(noUndeclaredDependencies): ignore invalid package names, bun import, and recognize Definitely Typed
* chore: tweak `useConsistentArrayType` rule documentation
* chore: add `noConsole` options documentation
* feat(lint): add noProcessEnv
* feat(format/html): attribute formatting
* docs: update snippet ignore file on `useFilenamingConvention` rule
* chore: add more logs for #3839
* docs(changelog): fix typo
* refactor(package.json): add more keywords
* fix(editorconfig): fix editorconfig not being loaded when running `biome ci`
* docs(readme): add CSS and GraphQL
* fix(aria): remove concept for alert like roles
* fix: update eslint-plugin-solid docs position
* feat(parser/html): correctly parse void elements
* chore: fix docs comments
* Thu Sep 12 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.9.0:
* see https://github.com/biomejs/biome/releases/tag/cli%2Fv1.9.0
* Fri Jun 28 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.8.3:
* "Fix #3104 by suppressing node warnings when using biome
migrate.
* Force colors to be off when using the GitHub reporter to
properly create annotations in GitHub actions (#3148)
* Implement CSS unicode range.
* Fix #3184 CSS formatter converts custom identifiers to lowercase.
* Fix #3256 constant crashes when editing css files #3256.
* Add nursery/useDeprecatedReason rule.
* Add nursery/noExportedImports.
* useConsistentArrayType and useShorthandArrayType now ignore
Array in the extends and implements clauses. Fix #3247.
* Fixes #3066 by taking into account the dependencies declared in the package.json.
* The code action of the useArrowFunction rule now preserves a
trailing comma when there is only a single type parameter in
the arrow function and JSX is enabled. Fixes #3292.
* Enhance tailwind sorting lint rule #1274 with variant support.
* Every preconfigured variant is assigned a weight that concurs
on establishing the output sorting order.
* Since nesting variants on the same utility class is possible,
the resulting weight is the Bitwise XOR of all the variants
weight for that class.
* Dynamic variants (e.g. has-[.custom-class], group-[:checked])
are also supported and they take the weight of their base
variant name the custom value attached (e.g. has-[.custom-
class] takes has weight).
* Arbitrary variants (e.g. [&nth-child(2)]) don't have a weight
assigned and they are placed after every known variant.
* Classes with the same amount of arbitrary variants follow
lexicographical order. The class that has the highest number
of nested arbitrary variants is placed last.
* Screen variants (e.g. sm:, max-md:, min-lg:) are not supported yet.
* feat(workspace): adds GraphQL parsing capabilities via feature #3238
* feat(editorconfig): expand unknown globs into known globs #3218
* chore(core): implement pull_diagnostics for graphql #3248
* chore(linter): add a rule source of noUnknownProperty #3252
* feat: tailwind variant sorting #3208
* test(parse/json): add test for bug where overrides
erroneously override special parsing options #3260
* docs(analyzer): improve contributing guide for rules with multiple signals #3245
* chore(lint): initialise biome_graphql_analyze #3276
* chore(deps): update @biomejs packages #3266
* docs(useNamingConvention): add examples and improve explanations #3277
* refactor(parse/json): change fields in JsonParserSettings to Option #3272
* feat(search-output-formatter): initialize search output formatter #3258
* chore(grit): implement node-like compilers + fixes #3253
* feat: enable linting for graphql #3295
* refactor(parse/css): change fields in CssParserSettings to Option #3273
* refactor: add variables to format strings directly #3299
* chore: update codegen to include GraphQL #3301
* Wed Jun 26 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.8.2:
- Fix #3201 by correctly injecting the source code of the file
when printing the diagnostics.
- Fix #3179 where comma separators are not correctly removed
after running biome migrate and thus choke the parser.
- Fix #3232 by correctly using the colors set by the user.
- Reword the reporter message "No fixes needed" to "No fixes applied"
- Don't conceal previous overrides (#3176). The rule is now
correctly enabled for the index.js file.
- Fix #3103 by correctly resolving CSS formatter options.
- Fix #3192 don't add an extra whitespace within :has.
- Fix a regression introduced by the release of v1.8.0
- Add nursery/useValidAutocomplete.
- Add nursery/noShorthandPropertyOverrides. #2958
- Fix [#3084] false positive by correctly recognize parenthesized
return statement.
- useImportExtensions now suggests a correct fix for import '.'
and import './.'.
- Fix useDateNow false positive when new Date object has
arguments new Date(0).getTime().
- The noUnmatchableAnbSelector rule is now able to catch
unmatchable an+b selectors like 0n+0 or -0n+0.
- The useHookAtTopLevel rule now recognizes properties named as hooks like foo.useFoo().
- Fix #3092, prevent warning for Custom properties (--*).
- Fix a false positive in the useLiteralKeys rule. (#3160)
- The noUnknownProperty rule now ignores the composes property
often used in css modules. #3000
- Fix false positives of the useExhaustiveDependencies rule.
- Fix missing withDefaults macro in vue files for globals variables.
- Fix CSS modules settings mapping.
- chore(ci): improve rules_check task
- chore: change js code blocks containing JSX elements to jsx
- feat(biome_js_analyzer): noSubstr
- chore(deps): update rust crate tokio to 1.38.0
- chore(grit): implement Grit snippet bindings
- chore(deps): update @biomejs packages
- feat(analyzer): useSortedKeys for JSON objects
- docs(useImportType): add docs about TypeScript settings
- docs(noUndeclaredDependencies,useImportExtensions): add note about LSP configs
- docs(no_undeclared_dependencies): follow up fix of #3173
- chore(ci): try enable --compact flag for pkg.pr.new
- chore(ci): remove --compact flag
- fix(formatter): escape double quotes when printing formatter IR
- fix: remove unnecessary example
- chore: move maintainers to past maintainers
- chore: removes old files
- chore: move Sec-ant to core contributor
- chore: add minht11 to the maintainers team
- chore: add chansuke to maintainers list
- chore: rust 1.79.0
- chore(deps): update github-actions
- chore(deps): update @biomejs packages
- chore(grit): improve snippet compiler
- refactor(analyzer): use enumflags2
- feat(biome_css_analyzer): implement function-linear-gradient-no-nonstandard-direction
- chore(deps): update dependency eslint to v9.5.0
* Mon Jun 10 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.8.1:
* Fix #3069, prevent overwriting paths when using --staged or --changed options.
* Fix a case where the file link inside a diagnostic wasn't
correctly displayed inside a terminal run by VSCode.
* Fix #3067, by assigning the correct default value to indentWidth.
* Fix the bug where whitespace after the & character in CSS
nesting was incorrectly trimmed, ensuring proper targeting of
child classes #3061.
* Fix #3068 where the CSS formatter was inadvertently
converting variable declarations and function calls to lowercase.
* Fix the formatting of CSS grid layout properties.
* The noEmptyBlock css lint rule now treats empty blocks
containing comments as valid ones useLiteralKeys no longer
reports quoted member names (#3085)
* noEmptyInterface now ignores empty interfaces in ambient modules (#3110)
* noUnusedVariables and noUnusedFunctionParameters no longer
report the parameters of a constructor type (#3135)
* noStringCaseMismatch now ignores escape sequences (#3134)
* Implemented CSS Unknown At-Rule parsing, allowing the parser
to gracefully handle unsupported or unrecognized CSS at-rules.
* Fix #3055 CSS: Layout using named grid lines is now correctly parsed.
* Fix #3091. Allows the parser to handle nested style rules and
at-rules properly, enhancing the parser's compatibility with the
CSS Nesting Module.
* Mon Jun 10 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.8.0:
* see https://github.com/biomejs/biome/releases/tag/cli%2Fv1.8.0
* Mon May 06 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.7.3:
* The stdin-file-path option now works correctly for Astro/
Svelte/Vue files (#2686)
* Add nursery/useExplicitLengthCheck.
* noBlankTarget no longer hangs when applying a code fix (#2675)
* noRedeclare no longer panics on conditional type (#2659)
* noUnusedLabels and noConfusingLabels now ignore svelte
reactive statements (#2571)
* useExportType no longer removes leading comments (#2685)
* useJsxKeyInIterable no longer reports false positive when
iterating on non-jsx items (#2590)
* Fix typo by renaming useConsistentBuiltinInstatiation to
useConsistentBuiltinInstantiation
* feat(biome_graphql_parser): parse schema definition #2557
* chore(ci): renovate pin GA to semver #2670
* build(deps): update #2669
* build(deps): upgrade indexmap crate #2673
* feat(biome_css_analyzer): implement noDuplicateAtImportRules #2658
* feat(biome_css_analyzer): noUnknownSelectorPseudoElement #2655
* feat(biome_graphql_parser): implement NthAt for GraphqlLexer #2677
* feat(biome_graphql_parser): parse scalar type definition #2663
* chore: add Grit node compilers #2689
* chore: upgrade to rust 1.78 #2691
* feat: parse object type definition #2690
* chore(deps): upgrade oxc_resolver #2694
* chore: implement Grit node bindings #2697
* docs: better explanation of the directive "use strict" #2699
* docs: add small note about process.exit #2700
* fix(lint/noDuplicateAtImportRules): correctly handle both
single- and double quotes #2707
* feat(biome_graphql_parser): parse interface type definition #2703
* feat(linter): implement NoUnmatchableAnbSelector #2706
* chore(deps): update rust crate tracing to 0.1.40 #2554
* fix(lint/useJsxKeyInIterable): handle ternaries properly #2701
* fix(useExplicitLengthCheck): docs #2735
* chore(deps): update rust crate serde to 1.0.200 #2737
* chore(deps): update github-actions #2740
* chore(deps): update dependency prettier to v3.2.5 #2739
* chore(deps): update pnpm to v8.15.8 #2733
* chore(deps): update @biomejs packages #2732
* chore(deps): update dependency eslint to v9.2.0 #2738
* Fri May 03 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.7.2:
* Import sorting now ignores side effect imports (#817)
* Import sorting now adds spaces where needed (#1665)
* biome migrate eslint now handles cyclic references.
* Correctly handle placement of comments inside named import clauses. #2566
* add nusery/noReactSpecificProps.
* add noUselessUndefinedInitialization.
* add nusery/useArrayLiterals.
* add nusery/useConsistentBuiltinInstatiation.
* add nusery/useDefaultSwitchClause.
* noDuplicateJsonKeys no longer crashes when a JSON file
contains an unterminated string (#2357)
* noRedeclare now reports redeclarations of parameters in a functions body (#2394)
* noRedeclare no longer reports overloads in object types (#2608)
* noRedeclare now merge default function export declarations
and types (#2372)
* noUndeclaredVariables no longer reports variable-only and type-only exports (#2637)
* [noUnusedVariables] no longer crash Biome when encountering a
malformed conditional type (#1695)
* useConst now ignores a variable that is read before its assignment.
* useShorthandFunctionType now suggests correct code fixes when parentheses are required (#2595)
* useTemplate now correctly escapes strings (#2580)
* noMisplacedAssertion now allow various expect.* calls
* The language parsers no longer panic on unterminated strings
followed by a newline and a space (#2606, #2410)
* build(xstask): remove deps fs_extra and filetime #2562
* docs: Add more useImportType examples to docs #2307
* chore: update schema definition #2567
* fix(configuration_schema): rename some fields to camelCase in
the configuration_schema.json #2568
* fix: rename some fileds to camelCase in the configuration_schema #2569
* feat(biome_css_analyzer): noUnknownUnit #2535
* chore: fix some typos in comments #2579
* refactor: foundations for LSP workspaces support #2589
* fix(lint/noRedundantAlt): rule source #2609
* feat(linter): Implement useGenericFontNames #2573
* chore: remove some website leftovers #2617
* refactor(deserialize): don't handle Option specifically #2630
* refactor: use TriviaPiece factory functions in more places #2632
* feat(biome_css_analyzer): noUnknownFunction #2570
* fix(snippet): should emit only one diagnostic #2650
* chore: add infrastructure for Grit engine #2586
* docs: fix typos in biome_rowan batch mutation #2653
* chore: upgrade prettier and update snapshots #2502
* build(deps): update #2657
- includes 1.7.1:
* Fix #2403 by printing the errors in the client console.
* Add parentheses for the return expression that has leading multiline comments. #2504
* Correctly format dangling comments of continue statements. #2555
* Fix case where jsxRuntime wasn't being respected by useImportType rule (#2473)
* Fix #2460, where the rule noUselessFragments was crashing the linter in some cases.
* Fix #2366, where noDuplicateJsonKeys incorrectly computed the kes to highlight.
* The rule noMisplacedAssertions now considers valid calling expect inside waitFor
* fix(lint/noBarrelFile): rule source #2464
* refactor(bench): update import statement and module handling in run.js #2471
* docs: fix missing punctuation and typo #2477
* fix: missing "--apply" option in the command example #2479
* chore: tidy up dependencies #2480
* chore(ci): add repository dispatch workflow #2442
* chore: fix some typos in comments #2486
* feat: start working on yaml support #2428
* chore: prepare knope #2484
* ci: trigger prepare release #2489
* ci: trigger prepare release #2490
* chore: remove variables from workflows #2491
* chore: speed up wasm-pack profiling build #2494
* fix: reverts hashbrown, which causes issues when compiling to WASM #2496
* fix(linter): name of typescript-eslint #2503
* Handle operation parsing error GraphQL #2434
* chore: remove website from monorepo #2505
* ci: add a workflow for linting pr titles #2497
* feat(rule/solidjs): add no-react-specific-props #2427
* refactor(js_syntax): remove TsNameWithTypeArguments #2510
* fix(linter): add missing fix kind for solid rule #2519
* feat(biome_css_analyzer): noCssEmptyBlock #2513
* chore: added how to create new css lint rule #2522
* refactor(css_formatter): implement FormatCssBlockLike #2531
* feat(biome_css_analyze): noDuplicateSelectorsKeyframeBlock #2534
* docs: fixed path to crates, updated link to translating doc #2538
* fix(biome_css_analyzer): update lint error messages #2545
* feat(biome_css_analyze): noImportantInKeyframe #2542
* chore(deps): update rust crate serde_json to 1.0.116 #2553
* chore(deps): update rust crate proc-macro2 to 1.0.81 #2551
* chore(deps): update github-actions #2549
* chore: add a new bronze sponsor #2556
* chore(deps): update rust:1.77.2 docker digest to 6052afe #2550
* chore(deps): update rust crate serde to 1.0.198 #2552
* feat(biome_graphql_parser): parse fragment definition #2506
* refactor(ci): add more valid PR title types #2559
* docs: fix typo in biome analyze contribution document #2560
* build(deps): remove 'case' dependency #2561
* Wed Apr 17 2024 Avindra Goolcharan <avindra@opensuse.org>
- update to 1.7.0:
* 235 commits, see https://github.com/biomejs/biome/compare/cli/v1.6.1...cli/v1.7.0