-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Move editorconfig-checker to lint-backend and remove JS wrapper #18793
Conversation
It makes more sense there as templates are considered backend code.
217828b
to
7c3a2fd
Compare
Hmm this isn't so easy because the command depends on node and npx presence which isn't there in some docker images used on the CI. I guess we should probably just keep it in |
The |
|
Ready for review. Now this directly uses the golang tool, eliminating the JS wrapper and a bunch of indirect npm dependencies as well. |
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.
This should also be added to the test environment: https://gitea.com/gitea/test-env just like golangci-lint
I still hope that golang some day will provide a solution to define devDependencies in |
* giteaofficial/main: Fix ldap loginname (go-gitea#18789) Replace deprecated String.prototype.substr() with String.prototype.slice() (go-gitea#18796) Fix problem when self-assign notification (go-gitea#18797) Move editorconfig-checker to lint-backend and remove JS wrapper (go-gitea#18793)
…itea#18793) * Move editorconfig-checker to lint-backend It makes more sense there as templates are considered backend code. * User golang version of the tool * remove dependency
It makes more sense there as templates are considered backend code.