Conversation
Package Changes Through fadad0bThere are 1 changes which include eslint-plugin-prefer-let with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
What are the specific scenarios that you are wanting to fix? |
export const settings = stateManager()With |
|
That makes sense. Before moving ahead, that case seems rare enough that maybe it makes sense to disable for that line? I'll leave it up to you though. |
In my open source it is pretty popular pattern. Some projects have 10+ exports like this. |
|
Here is an example of my code where I used Also,
|
Motivation
@cowboyd sorry, I came with small fix for my recent PR.
In JS code
let/constis almost identical.In
exportstatementletmeans that export value can be changed in runtime. It is a very different signal.I suggest ignoring
exportcase at all in the rule.