mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-29 16:57:00 +08:00
Update our custom ESLint rules to follow the official naming conventions[^1], in particular the rule names need to 1. consistently use dashes to separate words (rather a mix of underscores and dashes), and 1. consistently use `no-` prefix for rules that disallow something. Drive-by-fix: Also remove the `fixable` setting from rules that don't provide a fix. This is a functionally neutral change. [^1]: https://eslint.org/docs/latest/contribute/core-rules#rule-naming-conventions Fixed: 386319581 Change-Id: Ifcb6c0e4ca8334a263be6534596c30b3bcca243b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6110726 Reviewed-by: Samiya Caur <samiyac@chromium.org> Commit-Queue: Samiya Caur <samiyac@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>