eslint-react icon indicating copy to clipboard operation
eslint-react copied to clipboard

[feat] Add `eslint-plugin-react-web-api` plugin

Open Rel1cx opened this issue 1 year ago • 0 comments

Description

This plugin provides rules for interacting with Web APIs in React.

Rules

  • [x] #725
  • [x] #727
  • [ ] #760
  • [ ] no-leaked-animation-frame - Prevents leaked requestAnimationFrame.
  • [ ] no-leaked-event-source - Prevents leaked EventSource.
  • [x] #723
  • [x] #728
  • [ ] #761
  • [ ] #762
  • [ ] no-leaked-performance-observer - Prevents leaked PerformanceObserver.
  • [ ] no-leaked-websocket - Prevents leaked WebSocket.
  • [ ] no-leaked-broadcast-channel - Prevents leaked BroadcastChannel.
  • [ ] no-leaked-geolocation - Prevents leaked Geolocation.watchPosition().
  • [ ] no-leaked-absolute-orientation-sensor - Prevents leaked AbsoluteOrientationSensor.
  • [ ] no-leaked-relative-accelerometer - Prevents leaked Accelerometer.
  • [ ] no-leaked-ambient-light-sensor - Prevents leaked AmbientLightSensor.
  • [ ] no-leaked-gravity-sensor - Prevents leaked GravitySensor.
  • [ ] no-leaked-gyroscope - Prevents leaked Gyroscope.
  • [ ] no-leaked-linear-acceleration-sensor - Prevents leaked LinearAccelerationSensor.
  • [ ] no-leaked-magnetometer - Prevents leaked Magnetometer.
  • [ ] no-leaked-orientation-sensor - Prevents leaked OrientationSensor.

Rel1cx avatar Aug 18 '24 19:08 Rel1cx