dillon1000/react
Commit
Browse files add no-restricted-globals to eslint config (#18076)
Our current lint config assumes a browser environment, which means it won't warn you if you use a variable like `name` without declaring it earlier. This imports the same list as the one used by create-react-app, and enables it against our codebase.
Changed paths3 files
First-parent comparison.eslintrc.js ModifiedM package.json ModifiedM yarn.lock ModifiedPatch
Files changed
Rendering syntax-highlighted changes…