How do I turn off the development related alert on Slack?

We have integrated the Sentry to Slack and it works great. Just wanted to know how to ignore/avoid alerts being sent to Slack in case of the dev enviroment.

In what programming language are you working? For example, in PHP / Symfony the Sentry DSN is configured by a .env file. So in dev environment, we have a sentry_dsn='' in the .env and that environment is disabled.