dillon1000/react
Commit
Browse files ESLint rule to forbid cross fork imports (#18568)
Modules that belong to one fork should not import modules that belong to the other fork. Helps make sure you correctly update imports when syncing changes across implementations. Also could help protect against code size regressions that might happen if one of the forks accidentally depends on two copies of the same module.
Changed paths4 files
First-parent comparison.eslintrc.js ModifiedA scripts/eslint-rules/__tests__/no-cross-fork-imports-test.internal.js AddedM scripts/eslint-rules/index.js ModifiedA scripts/eslint-rules/no-cross-fork-imports.js AddedPatch
Files changed
Rendering syntax-highlighted changes…