ScottishCovidResponse / rampvis-ui

This is a React based RAMP VIS visualisation interface. This client uses the REST API: https://github.com/ScottishCovidResponse/rampvis-api
BSD 2-Clause "Simplified" License
7 stars 6 forks source link

Stop using prop-types, add ESLint rule to prevent new occurrences #117

Closed kachkaev closed 2 years ago

kachkaev commented 2 years ago

We don’t need Component.propTypes = {} because we use TypeScript. By not importing "prop-types" we reduce runtime and save ourselves from avoidable code repetition.

netlify[bot] commented 2 years ago

✔️ Deploy Preview for rampvis-ui-development ready!

🔨 Explore the source changes: a8af36e1e609c757fbe071d8dd462309cc9ae7a6

🔍 Inspect the deploy log: https://app.netlify.com/sites/rampvis-ui-development/deploys/61993e112c02c200073300c8

😎 Browse the preview: https://deploy-preview-117--rampvis-ui-development.netlify.app