bikehopper / bikehopper-ui

Friendly bike+transit directions (frontend)
Other
26 stars 1 forks source link

Add FormatJS lint rules #245

Closed graue closed 1 year ago

graue commented 1 year ago

See: https://formatjs.io/docs/tooling/linter/

I turned on rules that seem to make sense for the default case

I didn't turn on the one banning literal strings in JSX, yet, but once every message is internationalized, we could to prevent accidentally not translating something. We would want to add exceptions for deliberately untranslated things like the BikeHopper project name.

graue commented 1 year ago

Part of #238