Skip to content

Commit c37cb4b

Browse files
Version Packages (#305)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e4dc53e commit c37cb4b

9 files changed

+28
-24
lines changed

.changeset/no-json-israwjson.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/no-json-parse-reviver-context-parameter.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/no-json-parse-with-source.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/no-json-rawjson.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# eslint-plugin-es-x
22

3+
## 9.3.0
4+
5+
### Minor Changes
6+
7+
- Add `es-x/no-json-israwjson` rule ([#277](https://github.com/eslint-community/eslint-plugin-es-x/pull/277))
8+
9+
- Add `es-x/no-json-parse-reviver-context-parameter` rule ([#277](https://github.com/eslint-community/eslint-plugin-es-x/pull/277))
10+
11+
- Add `no-json-parse-with-source` config ([#277](https://github.com/eslint-community/eslint-plugin-es-x/pull/277))
12+
13+
- Add `es-x/no-json-rawjson` rule ([#277](https://github.com/eslint-community/eslint-plugin-es-x/pull/277))
14+
315
## 9.2.0
416

517
### Minor Changes

docs/rules/no-json-israwjson.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "es-x/no-json-israwjson"
33
description: "disallow the `JSON.isRawJSON` method"
4+
since: "v9.3.0"
45
---
56

67
# es-x/no-json-israwjson
78
> disallow the `JSON.isRawJSON` method
89
9-
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1010
- ✅ The following configurations enable this rule: [no-json-parse-with-source] and [no-new-in-esnext]
1111

1212
This rule reports ES2026 [`JSON.isRawJSON` method](https://github.com/tc39/proposal-json-parse-with-source) as errors.
@@ -46,6 +46,10 @@ This rule has an option.
4646
Configure the allowTestedProperty mode for only this rule.
4747
This is prior to the `settings['es-x'].allowTestedProperty` setting.
4848

49+
## 🚀 Version
50+
51+
This rule was introduced in v9.3.0.
52+
4953
## 📚 References
5054

5155
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-json-israwjson.js)

docs/rules/no-json-parse-reviver-context-parameter.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "es-x/no-json-parse-reviver-context-parameter"
33
description: "disallow the `context` parameter in `JSON.parse` reviver function"
4+
since: "v9.3.0"
45
---
56

67
# es-x/no-json-parse-reviver-context-parameter
78
> disallow the `context` parameter in `JSON.parse` reviver function
89
9-
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1010
- ✅ The following configurations enable this rule: [no-json-parse-with-source] and [no-new-in-esnext]
1111

1212
This rule reports ES2026 [`JSON.parse` reviver `context` parameter](https://github.com/tc39/proposal-json-parse-with-source) as errors.
@@ -32,6 +32,10 @@ JSON.parse(
3232

3333
</eslint-playground>
3434

35+
## 🚀 Version
36+
37+
This rule was introduced in v9.3.0.
38+
3539
## 📚 References
3640

3741
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-json-parse-reviver-context-parameter.js)

docs/rules/no-json-rawjson.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "es-x/no-json-rawjson"
33
description: "disallow the `JSON.rawJSON` method"
4+
since: "v9.3.0"
45
---
56

67
# es-x/no-json-rawjson
78
> disallow the `JSON.rawJSON` method
89
9-
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1010
- ✅ The following configurations enable this rule: [no-json-parse-with-source] and [no-new-in-esnext]
1111

1212
This rule reports ES2026 [`JSON.rawJSON` method](https://github.com/tc39/proposal-json-parse-with-source) as errors.
@@ -46,6 +46,10 @@ This rule has an option.
4646
Configure the allowTestedProperty mode for only this rule.
4747
This is prior to the `settings['es-x'].allowTestedProperty` setting.
4848

49+
## 🚀 Version
50+
51+
This rule was introduced in v9.3.0.
52+
4953
## 📚 References
5054

5155
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-json-rawjson.js)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-es-x",
3-
"version": "9.2.0",
3+
"version": "9.3.0",
44
"description": "ESLint plugin about ECMAScript syntactic features.",
55
"engines": {
66
"node": "^20.19.0 || >=22.12.0"

0 commit comments

Comments
 (0)