File tree Expand file tree Collapse file tree 8 files changed +50
-10
lines changed Expand file tree Collapse file tree 8 files changed +50
-10
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-dataview-prototype-getfloat16-setfloat16"
3
3
description : " disallow the `DataView.prototype.{getFloat16,setFloat16}` methods"
4
+ since : " v8.5.0"
4
5
---
5
6
6
7
# es-x/no-dataview-prototype-getfloat16-setfloat16
7
8
> disallow the ` DataView.prototype.{getFloat16,setFloat16} ` methods
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
10
- ✅ The following configurations enable this rule: [ no-float16array] and [ no-new-in-esnext]
11
11
12
12
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));
31
31
32
32
</eslint-playground >
33
33
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
+
34
52
# # 📚 References
35
53
36
54
- [Rule source](https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-dataview-prototype-getfloat16-setfloat16.js)
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-float16array"
3
3
description : " disallow the `Float16Array` class"
4
+ since : " v8.5.0"
4
5
---
5
6
6
7
# es-x/no-float16array
7
8
> disallow the ` Float16Array ` class
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
10
- ✅ The following configurations enable this rule: [ no-float16array] and [ no-new-in-esnext]
11
11
12
12
This rule reports ES2025 [ ` Float16Array ` class] ( https://github.com/tc39/proposal-float16array ) as errors.
@@ -24,6 +24,10 @@ const float16 = new Float16Array(2);
24
24
25
25
</eslint-playground >
26
26
27
+ ## 🚀 Version
28
+
29
+ This rule was introduced in v8.5.0.
30
+
27
31
## 📚 References
28
32
29
33
- [ Rule source] ( https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-float16array.js )
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-intl-durationformat"
3
3
description : " disallow the `Intl.DurationFormat` object"
4
+ since : " v8.5.0"
4
5
---
5
6
6
7
# es-x/no-intl-durationformat
7
8
> disallow the ` Intl.DurationFormat ` object
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
10
- ✅ The following configurations enable this rule: [ no-new-in-esnext-intl-api]
11
11
12
12
This rule reports ES2025 Intl API ` Intl.DurationFormat ` object as errors.
@@ -30,6 +30,10 @@ df.format({
30
30
31
31
</eslint-playground >
32
32
33
+ ## 🚀 Version
34
+
35
+ This rule was introduced in v8.5.0.
36
+
33
37
## 📚 References
34
38
35
39
- [ Rule source] ( https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-intl-durationformat.js )
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-math-f16round"
3
3
description : " disallow the `Math.f16round` method"
4
+ since : " v8.5.0"
4
5
---
5
6
6
7
# es-x/no-math-f16round
7
8
> disallow the ` Math.f16round ` method
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
10
- ✅ The following configurations enable this rule: [ no-float16array] and [ no-new-in-esnext]
11
11
12
12
This rule reports ES2025 [ ` Math.f16round ` method] ( https://github.com/tc39/proposal-float16array ) as errors.
@@ -24,6 +24,10 @@ const n = Math.f16round(value)
24
24
25
25
</eslint-playground >
26
26
27
+ ## 🚀 Version
28
+
29
+ This rule was introduced in v8.5.0.
30
+
27
31
## 📚 References
28
32
29
33
- [ Rule source] ( https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-math-f16round.js )
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-nonstandard-intl-durationformat-properties"
3
3
description : " disallow non-standard static properties on `Intl.DurationFormat` class"
4
+ since : " v8.5.0"
4
5
---
5
6
6
7
# es-x/no-nonstandard-intl-durationformat-properties
7
8
> disallow non-standard static properties on ` Intl.DurationFormat ` class
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
-
11
10
This rule reports non-standard static properties on ` Intl.DurationFormat ` class as errors.
12
11
13
12
## 💡 Examples
@@ -44,6 +43,10 @@ This rule has an option.
44
43
45
44
An array of non-standard property names to allow.
46
45
46
+ ## 🚀 Version
47
+
48
+ This rule was introduced in v8.5.0.
49
+
47
50
## 📚 References
48
51
49
52
- [ Rule source] ( https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-nonstandard-intl-durationformat-properties.js )
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-nonstandard-intl-durationformat-prototype-properties"
3
3
description : " disallow non-standard properties on Intl.DurationFormat instance"
4
+ since : " v8.5.0"
4
5
---
5
6
6
7
# es-x/no-nonstandard-intl-durationformat-prototype-properties
7
8
> disallow non-standard properties on Intl.DurationFormat instance
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
-
11
10
This rule reports non-standard properties on Intl.DurationFormat instance as errors.
12
11
13
12
## 💡 Examples
@@ -45,6 +44,10 @@ This rule has an option.
45
44
46
45
An array of non-standard property names to allow.
47
46
47
+ ## 🚀 Version
48
+
49
+ This rule was introduced in v8.5.0.
50
+
48
51
## 📚 References
49
52
50
53
- [ Rule source] ( https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-nonstandard-intl-durationformat-prototype-properties.js )
Original file line number Diff line number Diff line change 1
1
---
2
2
title : " es-x/no-regexp-escape"
3
3
description : " disallow `RegExp.escape` function"
4
+ since : " v8.5.0"
4
5
---
5
6
6
7
# es-x/no-regexp-escape
7
8
> disallow ` RegExp.escape ` function
8
9
9
- - ❗ <badge text =" This rule has not been released yet. " vertical =" middle " type =" error " > *** This rule has not been released yet.*** </badge >
10
10
- ✅ The following configurations enable this rule: [ no-new-in-esnext]
11
11
12
12
This rule reports ES2025 [ ` RegExp.escape ` ] ( https://github.com/tc39/proposal-regex-escaping ) as errors.
@@ -24,6 +24,10 @@ RegExp.escape(s)
24
24
25
25
</eslint-playground >
26
26
27
+ ## 🚀 Version
28
+
29
+ This rule was introduced in v8.5.0.
30
+
27
31
## 📚 References
28
32
29
33
- [ Rule source] ( https://github.com/eslint-community/eslint-plugin-es-x/blob/master/lib/rules/no-regexp-escape.js )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-es-x" ,
3
- "version" : " 8.4.1 " ,
3
+ "version" : " 8.5.0 " ,
4
4
"description" : " ESLint plugin about ECMAScript syntactic features." ,
5
5
"engines" : {
6
6
"node" : " ^14.18.0 || >=16.0.0"
You can’t perform that action at this time.
0 commit comments