Closed aliok closed 3 months ago
Can I work on this issue?
/assign @VamshiReddy02
/assign
I am intentioanally breaking lint ; in order to test yarn backstage-cli repo lint --since origin/main script .. No matter how many times i tried, i am getting successfull lint builld.. This one is yarn backstage-cli repo lint, is checking lint for all the project .. @aliok
@ahmetcihank let's start with using lint:all
(backstage-cli repo lint
)? If we get answers from Backstage community about the --since origin/main
part and understand why it isn't working, we can switch using that later on.
What do you think?
@aliok sounds good, thanks a lot. I am assuming there is something about packages , which i couldn't figure out .
/close Fixed by https://github.com/knative-extensions/backstage-plugins/pull/48
@aliok: Closing this issue.
Typescript code is not linted currently.
Notes:
lint
scripts in package.json:https://github.com/knative-extensions/backstage-plugins/blob/84b0e1c7fd01c3e34e4e48682cd04c3afa2ce6d7/backstage/package.json#L22-L23
lint
andlint:all
do. Need to understand the difference and pick the correct one.release
andrelease-snapshot
) to run the linterSo, we should have a separate linter action that is to be run in every PR AND we should also run the linter in the release actions as we double check everything when we release.