facebook / prop-types

Runtime type checking for React props and similar objects
MIT License
4.48k stars 356 forks source link

[eslint] enable some rules #360

Closed KonstHardy closed 2 years ago

KonstHardy commented 2 years ago

Hello, I've improved the documentation by adding additional ESLint rules and fixing some minor typos.

Additional ESLint rules: "no-multi-spaces": ["error"], "key-spacing": ["error"] "no-multi-spaces" - Disallow multiple spaces; "key-spacing" - Enforce consistent spacing between keys and values in object literal properties;