We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
eslint-plugin-react-web-api
This plugin provides rules for interacting with Web APIs in React.
web-api/no-leaked-timeout
setTimeout
web-api/no-leaked-interval
setInterval
web-api/no-leaked-idle-callback
requestIdleCallback
no-leaked-animation-frame
requestAnimationFrame
no-leaked-event-source
EventSource
web-api/no-leaked-event-listener
addEventListener
web-api/no-leaked-resize-observer
ResizeObserver
web-api/no-leaked-intersection-observer
IntersectionObserver
web-api/no-leaked-mutation-observer
MutationObserver
no-leaked-performance-observer
PerformanceObserver
no-leaked-websocket
WebSocket
no-leaked-broadcast-channel
BroadcastChannel
no-leaked-geolocation
Geolocation.watchPosition()
no-leaked-absolute-orientation-sensor
AbsoluteOrientationSensor
no-leaked-relative-accelerometer
Accelerometer
no-leaked-ambient-light-sensor
AmbientLightSensor
no-leaked-gravity-sensor
GravitySensor
no-leaked-gyroscope
Gyroscope
no-leaked-linear-acceleration-sensor
LinearAccelerationSensor
no-leaked-magnetometer
Magnetometer
no-leaked-orientation-sensor
OrientationSensor
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
This plugin provides rules for interacting with Web APIs in React.
Rules
web-api/no-leaked-timeout
- Prevents leakedsetTimeout
. #725web-api/no-leaked-interval
- Prevents leakedsetInterval
. #727web-api/no-leaked-idle-callback
- Prevents leakedrequestIdleCallback
. #760no-leaked-animation-frame
- Prevents leakedrequestAnimationFrame
.no-leaked-event-source
- Prevents leakedEventSource
.web-api/no-leaked-event-listener
- Prevents leakedaddEventListener
#723web-api/no-leaked-resize-observer
- Prevents leakedResizeObserver
#728web-api/no-leaked-intersection-observer
- Prevents leakedIntersectionObserver
. #761web-api/no-leaked-mutation-observer
- Prevents leakedMutationObserver
. #762no-leaked-performance-observer
- Prevents leakedPerformanceObserver
.no-leaked-websocket
- Prevents leakedWebSocket
.no-leaked-broadcast-channel
- Prevents leakedBroadcastChannel
.no-leaked-geolocation
- Prevents leakedGeolocation.watchPosition()
.no-leaked-absolute-orientation-sensor
- Prevents leakedAbsoluteOrientationSensor
.no-leaked-relative-accelerometer
- Prevents leakedAccelerometer
.no-leaked-ambient-light-sensor
- Prevents leakedAmbientLightSensor
.no-leaked-gravity-sensor
- Prevents leakedGravitySensor
.no-leaked-gyroscope
- Prevents leakedGyroscope
.no-leaked-linear-acceleration-sensor
- Prevents leakedLinearAccelerationSensor
.no-leaked-magnetometer
- Prevents leakedMagnetometer
.no-leaked-orientation-sensor
- Prevents leakedOrientationSensor
.The text was updated successfully, but these errors were encountered: