Add ls-lint to sfdx projects #2341
Replies: 5 comments 2 replies
-
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
Beta Was this translation helpful? Give feedback.
-
This issue has been linked to a new work item: W-13479253 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feature request, it is now in our backlog. Some the folder structure ls-lint config could be created from the metadata registry. |
Beta Was this translation helpful? Give feedback.
-
I can do this if you don't mind. |
Beta Was this translation helpful? Give feedback.
-
Can you give some examples of what rules you'd want to create? |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
No
What are you trying to do
Standardize the way sfdx projects enforce file/directory naming conventions.
Describe the solution you'd like
ls-lint
ls-lint
rules.npm run lint
https://ls-lint.org/
You could create a new package that bundles
ls-lint
with your pre defined set of rules, and then add it in the dev dependencies of sfdx projects.Benefits:
Describe alternatives you've considered
I can add
ls-lint
to every sfdx project I work on... but I would have to spend time convincing people about its benefits, and every sfdx project could end up having different set of naming conventions.Additional context
N/A
Beta Was this translation helpful? Give feedback.
All reactions