-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use eslint-plugin-filename-rules
#23
Conversation
|
@Keyrxng does it really need to be done manually? Have you considered using |
I wasn't aware of that plugin @gentlementlegen. The bash script was already in use in other repos across the org I just ported it over, added some tests and tweaks to catch more file name formats. It could be removed in favour of the plugin I don't have any problems with that. Also there is no active issue for this, I just took it upon myself (won't do it again without spinning up an issue first) but I'm happy to see it through and add the plugin if you haven't already took it upon yourself |
Would be nice if you can test the plugin and see if that can replace everything that the script is currently doing. If so, I am in favor of replacing it by the |
no worries I'll do this today |
eslint-plugin-filename-rules
@Keyrxng if you fix the conflicts in can merge this in. |
…into development
@gentlementlegen sorry bud didn't see there was conflicts |
/** | ||
* @type {import("eslint").Linter.Config} | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this? @Keyrxng @gentlementlegen
Why did you accept this as a js file? Those are forbidden.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't know they were explicitly forbidden as jest.config.js
is a common config file across UBQ repos but I can refactor to one of the other accepted extensions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jest is the exception if I recall correctly due to limitations
You changed this file format in this pull
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since it's a configuration file, didn't see much of the problem as long as it is typed. Can revert to json
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Related to #21
eslint-plugin-filename-rules