eslint-react
eslint-react copied to clipboard
[feat] Add `eslint-plugin-react-web-api` plugin
Description
This plugin provides rules for interacting with Web APIs in React.
Rules
- [x] #725
- [x] #727
- [ ] #760
- [ ]
no-leaked-animation-frame- Prevents leakedrequestAnimationFrame. - [ ]
no-leaked-event-source- Prevents leakedEventSource. - [x] #723
- [x] #728
- [ ] #761
- [ ] #762
- [ ]
no-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.