You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge branch 'master' into dependabot/npm_and_yarn/eslint-plugin-unicorn-44.0.0
* master:
Add `compact` to `filter` autofixer for `no-array-prototype-extensions` rule (#1611)
build(deps-dev): bump release-it from 15.4.2 to 15.5.0 (#1612)
build(deps-dev): bump @babel/plugin-proposal-decorators from 7.19.1 to 7.19.3 (#1602)
build(deps-dev): bump @typescript-eslint/parser from 5.38.0 to 5.38.1 (#1604)
build(deps-dev): bump jsdom from 20.0.0 to 20.0.1 (#1607)
build(deps-dev): bump sort-package-json from 1.57.0 to 2.0.0 (#1606)
Add `filterBy` to `filter` autofixer for `no-array-prototype-extensions` rule (#1610)
Add `any` to `some` autofixer for `no-array-prototype-extensions` rule (#1609)
Copy file name to clipboardExpand all lines: docs/rules/no-array-prototype-extensions.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,7 @@
1
1
# no-array-prototype-extensions
2
2
3
+
🔧 The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
4
+
3
5
By default, Ember extends certain native JavaScript objects with additional methods. This can lead to problems in some situations. One example is relying on these methods in an addon that is used inside an app that has the extensions disabled.
4
6
5
7
The prototype extensions for the `Array` object were deprecated in [RFC #848](https://rfcs.emberjs.com/id/0848-deprecate-array-prototype-extensions).
0 commit comments