Skip to content

Commit c2d9be4

Browse files
committed
refactor: rename prever-observers-over-events
1 parent 1d3c50c commit c2d9be4

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

docs/rules/prefer-observers-over-events.md renamed to docs/rules/prefer-observers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Prever Observers over Events
1+
# Prever Observers
22

33
Some events, such as `scroll` and `resize` have traditionally caused performance issues on web pages, as they are high frequency events, firing many times per second as the user interacts with the page viewport.
44

lib/configs/browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ module.exports = {
1313
'github/unescaped-html-literal': 'error',
1414
'github/no-useless-passive': 'error',
1515
'github/no-non-passive-high-frequency-events': 'error',
16-
'github/prefer-observers-over-events': 'error'
16+
'github/prefer-observers': 'error'
1717
}
1818
}
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)