eslint-plugin-better-mutation icon indicating copy to clipboard operation
eslint-plugin-better-mutation copied to clipboard

Add ability to configure exceptions that can be assigned to

Open sloops77 opened this issue 8 months ago • 0 comments

In certain frameworks, like fastify, it is desirable to modify certain variables in plugins due to framework architecture. These variables prove to be exceptions to the better-mutation rules.

Think something like the req.user in a fastify-auth plugin.

Each team needs to decide how they want to handle these exceptions

  1. Centralized config
  2. Using // eslint-disable eslint-plugin-better-mutation

sloops77 avatar Jun 03 '24 00:06 sloops77