refactor(eslint-plugin-react-hooks): change array type and improve conditionals#32400
Conversation
This change adds configuration to the eslint config governing `eslint-plugin-react-hooks` to use the typescript-eslint plugin and parser. It adds the typescript-recommended config, and configures the team's preferred `array-type` convention.
This change addresses several feedback items from facebook#32240
540d0d9 to
a3279f4
Compare
|
Comparing: eb1f77dedfc8f7491ecd39b160e4743fa39dfc99...9913a7b4748080ca3a6bed22310e8c8b7228f72e Critical size changesIncludes critical production bundles, as well as any change greater than 2%:
Significant size changesIncludes any change greater than 0.2%: (No significant changes) |
| id: node_modules | ||
| with: | ||
| path: "**/node_modules" | ||
| path: "node_modules" |
There was a problem hiding this comment.
Was this just to bust the cache? I don't see why what it was previously needs to be changed
There was a problem hiding this comment.
The node_modules within the fixtures are soft-linking to the build directory for the eslint-plugin. When those node_modules were fulfilled from cache, the symlinks were broken, and after the build, it's not re-linked. So this changes it so that it's still caching the root node_modules, but not the nested ones. That way those node_modules with the symlinks can be created each time.
a3279f4 to
ff47b9e
Compare
This change removes the nested fixture node_modules from being cached, so that the symbolic link can be made after the build happens. ci (eslint-e2e): exclude nested `node_modules` from cache This change removes the nested fixture node_modules from being cached, so that the symbolic link can be made after the build happens.
ff47b9e to
6ea4c0d
Compare
…nditionals (#32400) - [build(eslint-plugin-react-hooks): add ts-linting](4c0fbe7) This change adds configuration to the eslint config governing `eslint-plugin-react-hooks` to use the typescript-eslint plugin and parser. It adds the typescript-recommended config, and configures the team's preferred `array-type` convention. - [refactor(eslint-plugin-react-hooks): improve conditionals](540d0d9) This change addresses several feedback items from #32240 - [ci (eslint-e2e): exclude nested node_modules from cache](a3279f4) This change removes the nested fixture `node_modules` from being cached, so that the symbolic link can be made after the build happens. DiffTrain build for [4632e36](4632e36)
build(eslint-plugin-react-hooks): add ts-linting
This change adds configuration to the eslint config governing
eslint-plugin-react-hooksto use the typescript-eslint plugin and parser. It adds the typescript-recommended config, and configures the team's preferredarray-typeconvention.refactor(eslint-plugin-react-hooks): improve conditionals
This change addresses several feedback items from feat(eslint-plugin-react-hooks): convert to typescript and package type declarations #32240
ci (eslint-e2e): exclude nested node_modules from cache
This change removes the nested fixture
node_modulesfrom being cached, so that the symbolic link can be made after the build happens.