Skip to content

Commit

Permalink
release: 1.6.4 (#2274)
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Apr 3, 2024
1 parent 02fb518 commit d414e35
Show file tree
Hide file tree
Showing 11 changed files with 3,000 additions and 52 deletions.
6 changes: 1 addition & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ New entries must be placed in a section entitled `Unreleased`.
Read
our [guidelines for writing a good changelog entry](https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#changelog).

## Unreleased
## 1.6.4 (2022-04-03)

### Analyzer

Expand All @@ -35,10 +35,6 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

- Fix the unexpected code deletion and repetition when `quickfix.biome` is enabled and some `import`-related rules are applied ([#2222](https://github.com/biomejs/biome/issues/2222), [#688](https://github.com/biomejs/biome/issues/688), [#1015](https://github.com/biomejs/biome/issues/1015)). Contributed by @Sec-ant

### Formatter

### JavaScript APIs

### Linter

#### Bug fixes
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/biome/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/biome",
"version": "1.6.3",
"version": "1.6.4",
"bin": "bin/biome",
"scripts": {
"postinstall": "node scripts/postinstall.js"
Expand Down
12 changes: 6 additions & 6 deletions website/src/content/docs/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ The fastest way to download Biome is to use `npm` or your preferred package mana
To install Biome, run the following commands in a directory containing a `package.json` file.

<PackageManagerCommand
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
/>

:::note
Expand All @@ -46,7 +46,7 @@ After running the `init` command, you'll now have a new `biome.json` file in you

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": false
},
Expand All @@ -65,7 +65,7 @@ Alternatively, you can run `biome init --jsonc` to emit a `biome.jsonc` file ins

```json title="biome.jsonc"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
31 changes: 16 additions & 15 deletions website/src/content/docs/guides/how-biome-works.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -52,18 +52,19 @@ working directory, and then it starts looking in the parent directories until:
Here's an example:

<FileTree>
- app
- backend
- app
- backend
- package.json
- biome.json
- frontend
- frontend
- legacy
- package.json
- package.json
- new
- package.json
- package.json
- biome.json
</FileTree>


- biome commands that run in `app/backend/package.json` will use the configuration file `app/backend/biome.json`;
- biome commands that run in `app/frontend/legacy/package.json` and `app/frontend/new/package.json`
will use the configuration file `app/frontend/biome.json`;
Expand All @@ -78,14 +79,14 @@ The `extends` option allows to break down a configuration in multiple file and "

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"extends": ["./formatter.json", "./linter.json"]
}
```

```json title="formatter.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"formatter": {
"indentSize": 2
},
Expand All @@ -99,7 +100,7 @@ The `extends` option allows to break down a configuration in multiple file and "

```json title="linter.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"linter": {
"rules": {
"complexity": {
Expand Down Expand Up @@ -201,14 +202,14 @@ and decide to place your `biome.json` at the root folder of the project.
Inside the `frontend/` project, you have your `package.json` with some scripts that run Biome:

<FileTree>
- backend
- ...
- biome.json
- frontend
- package.json
- src
- backend
- ...
- biome.json
- frontend
- package.json
- src
- ...
- test
- test
- ...
</FileTree>

Expand Down
6 changes: 1 addition & 5 deletions website/src/content/docs/internals/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ New entries must be placed in a section entitled `Unreleased`.
Read
our [guidelines for writing a good changelog entry](https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#changelog).

## Unreleased
## 1.6.4 (2022-04-03)

### Analyzer

Expand All @@ -41,10 +41,6 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

- Fix the unexpected code deletion and repetition when `quickfix.biome` is enabled and some `import`-related rules are applied ([#2222](https://github.com/biomejs/biome/issues/2222), [#688](https://github.com/biomejs/biome/issues/688), [#1015](https://github.com/biomejs/biome/issues/1015)). Contributed by @Sec-ant

### Formatter

### JavaScript APIs

### Linter

#### Bug fixes
Expand Down
10 changes: 5 additions & 5 deletions website/src/content/docs/ja/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Biomeをインストールする最も速い方法は、 `npm` またはお好
Biomeをインストールするには、 `package.json` ファイルが含まれるディレクトリで次のコマンドを実行します。

<PackageManagerCommand
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
/>

:::note[]
Expand All @@ -44,7 +44,7 @@ Biomeをインストールする際には、バージョン範囲演算子を使

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
10 changes: 5 additions & 5 deletions website/src/content/docs/pt-br/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ A forma mais rápida de baixar o Biome é usando `npm` ou o seu package manager
Para instalar o Biome, execute o seguinte comando em um diretório que possua o arquivo `package.json`.

<PackageManagerCommand
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
/>

:::note
Expand All @@ -46,7 +46,7 @@ Após utilizar o comando, você terá um novo arquivo `biome.json` no seu diret

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ If you have problems with resolving the physical file, you can use the one publi

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json"
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json"
}
```

Expand Down
10 changes: 5 additions & 5 deletions website/src/content/docs/zh-cn/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ import PackageManagerCommand from "@/components/PackageManagerCommand.astro";
要安装Biome,请在包含`package.json`文件的目录中运行以下命令。

<PackageManagerCommand
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
npm="install --save-dev --save-exact @biomejs/biome"
pnpm="add --save-dev --save-exact @biomejs/biome"
yarn="add --dev --exact @biomejs/biome"
bun="add --dev --exact @biomejs/biome"
/>

:::note
Expand All @@ -43,7 +43,7 @@ import PackageManagerCommand from "@/components/PackageManagerCommand.astro";

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
8 changes: 4 additions & 4 deletions website/src/content/docs/zh-cn/reference/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import LintGroups from "@/components/generated/Groups.astro";

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json"
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json"
}
```

Expand All @@ -37,14 +37,14 @@ import LintGroups from "@/components/generated/Groups.astro";

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"extends": ["./formatter.json", "./linter.json"]
}
```

```json title="formatter.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"formatter": {
"indentSize": 2
},
Expand All @@ -58,7 +58,7 @@ import LintGroups from "@/components/generated/Groups.astro";

```json title="linter.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.3/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"linter": {
"rules": {
"complexity": {
Expand Down
Loading

0 comments on commit d414e35

Please sign in to comment.