Skip to content

Commit

Permalink
release: 1.6.2 (#2152)
Browse files Browse the repository at this point in the history
Co-authored-by: Ze-Zheng Wu <[email protected]>
Co-authored-by: eMerzh <[email protected]>
  • Loading branch information
3 people authored Mar 22, 2024
1 parent 3c389ba commit 7669b33
Show file tree
Hide file tree
Showing 12 changed files with 2,955 additions and 25 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.2 (2024-03-22)

### Analyzer

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

- Fix enabled rules calculation. The precendence of individual rules, `all` and `recommend` presets in top-level and group-level configs is now correctly respected. More details can be seen in ([#2072](https://github.com/biomejs/biome/pull/2072)) ([#2028](https://github.com/biomejs/biome/issues/2028)). Contributed by @Sec-ant

### Editors

### Formatter

#### Bug fixes
Expand Down Expand Up @@ -67,8 +65,6 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

- Correctly resolve external `extends` configs. Contributed by @Sec-ant

### Parser

## 1.6.1 (2024-03-12)

### CLI
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.1",
"version": "1.6.2",
"bin": "bin/biome",
"scripts": {
"postinstall": "node scripts/postinstall.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/@biomejs/js-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@biomejs/js-api",
"version": "0.4.0",
"version": "0.5.0",
"description": "JavaScript APIs for the Biome package",
"scripts": {
"tsc": "tsc --noEmit",
Expand Down
4 changes: 2 additions & 2 deletions website/src/content/docs/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/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.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
6 changes: 3 additions & 3 deletions website/src/content/docs/guides/how-biome-works.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,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.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"extends": ["./formatter.json", "./linter.json"]
}
```

```json title="formatter.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"formatter": {
"indentSize": 2
},
Expand All @@ -99,7 +99,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.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"linter": {
"rules": {
"complexity": {
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.2 (2024-03-22)

### Analyzer

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

- Fix enabled rules calculation. The precendence of individual rules, `all` and `recommend` presets in top-level and group-level configs is now correctly respected. More details can be seen in ([#2072](https://github.com/biomejs/biome/pull/2072)) ([#2028](https://github.com/biomejs/biome/issues/2028)). Contributed by @Sec-ant

### Editors

### Formatter

#### Bug fixes
Expand Down Expand Up @@ -73,8 +71,6 @@ our [guidelines for writing a good changelog entry](https://github.com/biomejs/b

- Correctly resolve external `extends` configs. Contributed by @Sec-ant

### Parser

## 1.6.1 (2024-03-12)

### CLI
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/ja/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Biomeをインストールする際には、バージョン範囲演算子を使

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"organizeImports": {
"enabled": false
},
Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/pt-br/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/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.1/schema.json"
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json"
}
```

Expand Down
2 changes: 1 addition & 1 deletion website/src/content/docs/zh-cn/guides/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import PackageManagerCommand from "@/components/PackageManagerCommand.astro";

```json title="biome.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/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.1/schema.json"
"$schema": "https://biomejs.dev/schemas/1.6.2/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.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"extends": ["./formatter.json", "./linter.json"]
}
```

```json title="formatter.json"
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/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.1/schema.json",
"$schema": "https://biomejs.dev/schemas/1.6.2/schema.json",
"linter": {
"rules": {
"complexity": {
Expand Down
Loading

0 comments on commit 7669b33

Please sign in to comment.