Is your feature request related to a problem? Please describe.
In project I'm working on, we extract messages from source code in a way that requires "defaultMessage" option to be always present. Example:
Source{intl.formatMessage({id: 'langId', defaultMessage: 'This is default message' })}Result{ langId: 'This is default message' }
Describe the solution you'd like
Plugin should have option to notify user if he/she forgets to add defaultMessage
Which package? eslint-plugin-formatjs
Is your feature request related to a problem? Please describe. In project I'm working on, we extract messages from source code in a way that requires "defaultMessage" option to be always present. Example: Source
{intl.formatMessage({id: 'langId', defaultMessage: 'This is default message' })}
Result{ langId: 'This is default message' }
Describe the solution you'd like Plugin should have option to notify user if he/she forgets to add defaultMessage