nearbeach / NearBeach

NearBeach is an open sourced project management tool, helping you keep track of your project. You can track requirements, projects and tasks
https://nearbeach.org
MIT License
159 stars 63 forks source link

(JS-0049) Avoid square-bracket notation when accessing properties #675

Open robotichead opened 1 week ago

robotichead commented 1 week ago

Description

In JavaScript, there are two ways to access the properties of an object: - dot-notation (object.property) ( Recommended ) - square-bracket notation (object["property"]) ( Bad Practice ) The dot notation is preferred because it is easier to read, less verbose, and works better with aggressive JavaScript minimizers.

Occurrences

There are 11 occurrences of this issue in the repository.

See all occurrences on DeepSource → app.deepsource.com/gh/nearbeach/NearBeach/issue/JS-0049/occurrences/

belkhoujaons commented 1 week ago

can you assign this to me ?