-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Set up CI to lint workflows with action-validator #26
Conversation
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.
looks plausible
@@ -9,44 +9,60 @@ jobs: | |||
# ================================================ | |||
|
|||
eslint: | |||
name: "ESLint (Node ${{ matrix.node }})" | |||
name: "ESLint (Node ${{ matrix.node == '*' && 'latest' || matrix.node }})" |
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.
"*" is not the same as latest, as I understand it. (If it was, we wouldn't need to change this.) IMHO *
here would be better here: whilst not terribly clear for those who don't know what it means, it is at least not actively misleading.
"lint": "eslint src test && tsc --noEmit && prettier --check .", | ||
"lint:fix": "prettier --write . && eslint --fix src test", | ||
"lint": "yarn lint:js && yarn lint:workflows", | ||
"lint:js": "eslint src test && tsc --noEmit && prettier --check .", |
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.
not loving that we have a lint:js
that does something different to the lint:js
in element-web (notably: it runs tsc
), but I also don't feel very strongly about it.
This is the equivalent of element-hq/element-web#26621 applied to this repository.