Skip to content

Commit 24ad5e5

Browse files
committed
revert: Rule change
1 parent 1a42bd4 commit 24ad5e5

File tree

8 files changed

+7
-10
lines changed

8 files changed

+7
-10
lines changed

common/build/eslint-config-fluid/CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ Update dependencies on the following packages:
77
- `@typescript-eslint/eslint-plugin` (from 7.0.0 to 7.18.0)
88
- `@typescript-eslint/parser` (from 7.0.0 to 7.18.0)
99

10-
These updates result in the following rule changes:
11-
12-
- `no-new-native-nonconstructor` (from `error` to `off`)
13-
1410
## [6.0.0](https://github.com/microsoft/FluidFramework/releases/tag/eslint-config-fluid_v6.0_0)
1511

1612
Adds the following [@typescript-eslint/no-restricted-imports](https://typescript-eslint.io/rules/no-restricted-imports/) rules:

common/build/eslint-config-fluid/base.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ module.exports = {
244244
],
245245
"no-nested-ternary": "off", // Superseded by unicorn/no-nested-ternary
246246
"no-new-func": "error",
247+
"no-new-native-nonconstructor": "error",
247248
"no-new-wrappers": "error",
248249
"no-octal": "error",
249250
"no-octal-escape": "error",

common/build/eslint-config-fluid/printed-configs/default.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@
14721472
"error"
14731473
],
14741474
"no-new-native-nonconstructor": [
1475-
"off"
1475+
"error"
14761476
],
14771477
"no-new-symbol": [
14781478
"off"

common/build/eslint-config-fluid/printed-configs/minimal.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@
14361436
"error"
14371437
],
14381438
"no-new-native-nonconstructor": [
1439-
"off"
1439+
"error"
14401440
],
14411441
"no-new-symbol": [
14421442
"off"

common/build/eslint-config-fluid/printed-configs/react.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1474,7 +1474,7 @@
14741474
"error"
14751475
],
14761476
"no-new-native-nonconstructor": [
1477-
"off"
1477+
"error"
14781478
],
14791479
"no-new-symbol": [
14801480
"off"

common/build/eslint-config-fluid/printed-configs/recommended.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1472,7 +1472,7 @@
14721472
"error"
14731473
],
14741474
"no-new-native-nonconstructor": [
1475-
"off"
1475+
"error"
14761476
],
14771477
"no-new-symbol": [
14781478
"off"

common/build/eslint-config-fluid/printed-configs/strict.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@
15111511
"error"
15121512
],
15131513
"no-new-native-nonconstructor": [
1514-
"off"
1514+
"error"
15151515
],
15161516
"no-new-symbol": [
15171517
"off"

common/build/eslint-config-fluid/printed-configs/test.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@
14681468
"error"
14691469
],
14701470
"no-new-native-nonconstructor": [
1471-
"off"
1471+
"error"
14721472
],
14731473
"no-new-symbol": [
14741474
"off"

0 commit comments

Comments
 (0)