Update to latest eslint 9 with neostandard - #1466
Conversation
PR Review: Update to ESLint 9 with neostandardGreat modernization work! Migrating to ESLint 9's flat config format is the right move, and using Potential Issue:
|
|
eslint-plugin-react is a dependency of neostandard, but I'll add it explicitely in next commit. |
PR Review: ESLint 9 + Neostandard MigrationGreat work! This is a clean, well-executed migration to ESLint 9's flat config format. The approach of turning off stylistically opinionated rules (rather than mass-reformatting all code) is the right call for a tooling-only PR. ✅ Positives
|
PR Review: ESLint 9 + neostandard migrationOverall this is a well-structured tooling upgrade. The flat config approach is cleaner and easier to maintain. Here are my observations: Positives
Issues1. JSX comment will not suppress ESLint rule (bug) in
|
PR Review: ESLint 9 Migration with neostandardThis is a clean and well-structured ESLint migration. Overall the approach is sound. A few observations below. Positives
Concerns1. Both approaches are functionally equivalent for wrapping a debounced function, but Also a pre-existing issue (not introduced here): when 2. Multiple Six new Some of these are legitimate (intentional mount-only effects, A-Frame integration patterns). But a second pass to confirm each is truly intentional rather than just silencing the linter would be worthwhile. 3. Likely incorrect eslint-disable rule name in // eslint-disable-next-line react-hooks/refs -- reads A-Frame component ref, re-render driven by polling interval
4. 'react-hooks/set-state-in-effect': 'off'This is a new rule from 5. The PR notes this can be reintroduced. Since Minor
SummaryThe migration is solid. Before merging, worth addressing:
|
Update to latest eslint 9 with neostandard, removed eslint-plugin-storybook but you can reintroduce it if you want.
PR similar to what I did in aframe-inspector aframevr/aframe-inspector#842