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
Copy file name to clipboardExpand all lines: docs/rules/prefer-event-target.md
-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
<!-- Do not manually modify RULE_NOTICE part. Run: `npm run generate-rule-notices` -->
4
4
<!-- RULE_NOTICE -->
5
-
✅ *This rule is part of the [recommended](https://github.com/sindresorhus/eslint-plugin-unicorn#recommended-config) config.*
6
5
<!-- /RULE_NOTICE -->
7
6
8
7
While [`EventEmitter`](https://nodejs.org/api/events.html#class-eventemitter) is only available in Node.js, [`EventTarget`](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget) is also available in *Deno* and browsers.
|[prefer-includes](docs/rules/prefer-includes.md)| Prefer `.includes()` over `.indexOf()` and `Array#some()` when checking for existence or non-existence. | ✅ | 🔧 | 💡 |
124
124
|[prefer-json-parse-buffer](docs/rules/prefer-json-parse-buffer.md)| Prefer reading a JSON file as a buffer. || 🔧 ||
0 commit comments