dillon1000/react

Commit

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.
Browse files
Changed paths3 files
First-parent comparison
M .eslintrc.js ModifiedM package.json ModifiedM yarn.lock Modified
Patch

Files changed

Rendering syntax-highlighted changes…