Skip to content

Commit cdbf55e

Browse files
committed
8.5.0
1 parent a0c417c commit cdbf55e

8 files changed

+50
-10
lines changed

docs/rules/no-dataview-prototype-getfloat16-setfloat16.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
title: "es-x/no-dataview-prototype-getfloat16-setfloat16"
33
description: "disallow the `DataView.prototype.{getFloat16,setFloat16}` methods"
4+
since: "v8.5.0"
45
---
56

67
# es-x/no-dataview-prototype-getfloat16-setfloat16
78
> disallow the `DataView.prototype.{getFloat16,setFloat16}` methods
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-float16array] and [no-new-in-esnext]
1111

1212
This rule reports ES2025 [`DataView.prototype.{getFloat16,setFloat16}` methods](https://github.com/tc39/proposal-float16array) as errors.
@@ -31,6 +31,24 @@ console.log(view.getFloat16(1));
3131

3232
</eslint-playground>
3333

34+
## 🔧 Options
35+
36+
This rule has an option.
37+
38+
```yaml
39+
rules:
40+
es-x/no-dataview-prototype-getfloat16-setfloat16: [error, { aggressive: false }]
41+
```
42+
43+
### aggressive: boolean
44+
45+
Configure the aggressive mode for only this rule.
46+
This is prior to the `settings['es-x'].aggressive` setting.
47+
48+
## 🚀 Version
49+
50+
This rule was introduced in v8.5.0.
51+
3452
## 📚 References
3553

3654
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-dataview-prototype-getfloat16-setfloat16.js)

docs/rules/no-float16array.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-float16array"
33
description: "disallow the `Float16Array` class"
4+
since: "v8.5.0"
45
---
56

67
# es-x/no-float16array
78
> disallow the `Float16Array` class
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-float16array] and [no-new-in-esnext]
1111

1212
This rule reports ES2025 [`Float16Array` class](https://github.com/tc39/proposal-float16array) as errors.
@@ -24,6 +24,10 @@ const float16 = new Float16Array(2);
2424

2525
</eslint-playground>
2626

27+
## 🚀 Version
28+
29+
This rule was introduced in v8.5.0.
30+
2731
## 📚 References
2832

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

docs/rules/no-intl-durationformat.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-intl-durationformat"
33
description: "disallow the `Intl.DurationFormat` object"
4+
since: "v8.5.0"
45
---
56

67
# es-x/no-intl-durationformat
78
> disallow the `Intl.DurationFormat` object
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-new-in-esnext-intl-api]
1111

1212
This rule reports ES2025 Intl API `Intl.DurationFormat` object as errors.
@@ -30,6 +30,10 @@ df.format({
3030

3131
</eslint-playground>
3232

33+
## 🚀 Version
34+
35+
This rule was introduced in v8.5.0.
36+
3337
## 📚 References
3438

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

docs/rules/no-math-f16round.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-math-f16round"
33
description: "disallow the `Math.f16round` method"
4+
since: "v8.5.0"
45
---
56

67
# es-x/no-math-f16round
78
> disallow the `Math.f16round` 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-float16array] and [no-new-in-esnext]
1111

1212
This rule reports ES2025 [`Math.f16round` method](https://github.com/tc39/proposal-float16array) as errors.
@@ -24,6 +24,10 @@ const n = Math.f16round(value)
2424

2525
</eslint-playground>
2626

27+
## 🚀 Version
28+
29+
This rule was introduced in v8.5.0.
30+
2731
## 📚 References
2832

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

docs/rules/no-nonstandard-intl-durationformat-properties.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
title: "es-x/no-nonstandard-intl-durationformat-properties"
33
description: "disallow non-standard static properties on `Intl.DurationFormat` class"
4+
since: "v8.5.0"
45
---
56

67
# es-x/no-nonstandard-intl-durationformat-properties
78
> disallow non-standard static properties on `Intl.DurationFormat` class
89
9-
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
10-
1110
This rule reports non-standard static properties on `Intl.DurationFormat` class as errors.
1211

1312
## 💡 Examples
@@ -44,6 +43,10 @@ This rule has an option.
4443

4544
An array of non-standard property names to allow.
4645

46+
## 🚀 Version
47+
48+
This rule was introduced in v8.5.0.
49+
4750
## 📚 References
4851

4952
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-nonstandard-intl-durationformat-properties.js)

docs/rules/no-nonstandard-intl-durationformat-prototype-properties.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
---
22
title: "es-x/no-nonstandard-intl-durationformat-prototype-properties"
33
description: "disallow non-standard properties on Intl.DurationFormat instance"
4+
since: "v8.5.0"
45
---
56

67
# es-x/no-nonstandard-intl-durationformat-prototype-properties
78
> disallow non-standard properties on Intl.DurationFormat instance
89
9-
- ❗ <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
10-
1110
This rule reports non-standard properties on Intl.DurationFormat instance as errors.
1211

1312
## 💡 Examples
@@ -45,6 +44,10 @@ This rule has an option.
4544

4645
An array of non-standard property names to allow.
4746

47+
## 🚀 Version
48+
49+
This rule was introduced in v8.5.0.
50+
4851
## 📚 References
4952

5053
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-nonstandard-intl-durationformat-prototype-properties.js)

docs/rules/no-regexp-escape.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-regexp-escape"
33
description: "disallow `RegExp.escape` function"
4+
since: "v8.5.0"
45
---
56

67
# es-x/no-regexp-escape
78
> disallow `RegExp.escape` 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-new-in-esnext]
1111

1212
This rule reports ES2025 [`RegExp.escape`](https://github.com/tc39/proposal-regex-escaping) as errors.
@@ -24,6 +24,10 @@ RegExp.escape(s)
2424

2525
</eslint-playground>
2626

27+
## 🚀 Version
28+
29+
This rule was introduced in v8.5.0.
30+
2731
## 📚 References
2832

2933
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-regexp-escape.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": "8.4.1",
3+
"version": "8.5.0",
44
"description": "ESLint plugin about ECMAScript syntactic features.",
55
"engines": {
66
"node": "^14.18.0 || >=16.0.0"

0 commit comments

Comments
 (0)