Open ematipico opened 3 months ago
I'm new to the Biome project, I came here out of frustration from configuring ESLint in a mono-repo.
What does this mean? are trailingComma
not allowed anymore?
Remove the deprecated
trailingComma
option
Again, I'm new and I haven't discovered everything about this project
@akkadaya thank you for using Biome!
We have two options that have a very similar name, and we deprecated the one that doesn't follow the naming convention. It will be removed
Enable .editorconfig support by default
It would be fantastic to have this enabled by default. It's unintuitive that this is set to false, requiring a biome.json
file with the following content:
{
"formatter": {
"useEditorconfig": true
}
}
to ensure my .editorconfig file is recognized.
The v3 extension depends on rootPath
, I'll have to check how this impacts the extension. I'll assign this task to myself.
The v3 extension depends on
rootPath
, I'll have to check how this impacts the extension. I'll assign this task to myself.
We could hold off on the change. The spec marks it as deprecated, but I have no idea if the editors out there are up to date.
The v3 extension depends on
rootPath
, I'll have to check how this impacts the extension. I'll assign this task to myself. biomejs/biome-vscode@f9aa112
/src/session.ts#L266-L269We could hold off on the change. The spec marks it as deprecated, but I have no idea if the editors out there are up to date.
As far as I know, VS Code still uses it for their own extensions so I think we could indeed hold for a bit.
Introduce a JSON formatter option that expands JSON object/array (aka lineWidth: 1)?
I think it's a good idea, but then I'd suggest the JS formatter should support the same option. It would give us another extra option compared to Prettier, but it would be a consistent way of handling this, I feel.
Something like expandLiterals: "always" | "followSource" | "onlyIfExceedingLineWidth"
, where followSource
is our (and Prettier's) current behavior, "always"
would be what many people request for JSON files. onlyIfExceedingLineWidth
is just something I think makes sense to have as well :)
Tasks
We will use this issue to track all the necessary breaking changes and removal of deprecation we plan to do for the next major of Biome.
Biome related
BREAKING: Remove the deprecated support ofroot_path
from the LSP @nhedgernoInvalidNewBuiltin
,noNewSymbol
,useShorthandArrayType
,useSingleCaseStatement
,noConsoleLog
).editorconfig
support by defaultstyle
tocomplexity
..js
and.ts
filesRegExep("", "")
) support in regex-related rules (noControlCharacterInRegex
andnoMisleadingCharacterClass
)noMultipleSpacesInRegularExpressionLiterals
->noMultipleSpacesInRegex
noUnusedTemplateLiteral
->noUselessTemplateLiteral
?indentStyle
.lineWidth: 1
)?Infrastructure and community related
These tasks are for the great Biome community and infrastrcture.
knope
for automated release processchat.biomejs.dev
sub-domain, create a redirect to the discord invite link, and change all the occurrences to usechat.biomejs.dev
Developments
next
branch, and regularly rebasemain
intonext
until we reach a point where we can mergenext
intomain
.main
intonext
. Please DOT NOT USEgit merge
. Please usegit rebase
git rerere
for your sanity. This feature will cache all the conflict resolutions on your local machine, so next time you happen to have the same resolution, git will apply it automatically. Very useful when rebasing the same branch.Engagements with this issue
If possible, please refrain from commenting on this issue unless you're involved with the developments. If you want to discuss a decision, please use the relative issue. If an issue doesn't exist, please use Discord, or wait for an issue to be open.