Skip to content
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

refactor(other): run remark from root folder only #1322

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

roschaefer
Copy link
Contributor

Motivation

This is a side quest from #1321.

Since #1317 we lint markown files from the root folder. It makes no sense to run it again and again from each subfolder.

Benefits:

  • Less dependencies
  • Faster CI because of:
    • npm install
    • npm run test:lint
  • Faster deployment

How to test

  1. See build checks

Motivation
----------
This is a side quest from #1321.

Since #1317 we lint markown files from the root folder. It makes no
sense to run it again and again from each subfolder.

Benefits:
* Less dependencies
* Faster CI because of:
  * `npm install`
  * `npm run test:lint`
* Faster deployment

How to test
-----------
1. See build checks
@roschaefer roschaefer requested a review from mahula July 3, 2024 09:54
Copy link
Contributor

@Mogge Mogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The rules are not the same. E.g. I run tests in frontend on master and get not errors/warnings. I run the tests in main directory on your branch and I get this warnings:

frontend/README.md
      warning Incorrect list-item indent style `one`: use either `'tab-size'`, `'space'`, or `'mixed'` list-item-indent   remark-lint

@roschaefer
Copy link
Contributor Author

@Mogge can you npm install please?

@Mogge Mogge merged commit 4d5f569 into master Jul 3, 2024
76 checks passed
@@ -26,8 +26,7 @@
"test": "npm run test:lint",
"docs:dev": "vuepress dev .",
"docs:build": "vuepress build .",
"release": "scripts/release.sh",
"update": "npx npm-check-updates"
Copy link
Contributor

@mahula mahula Jul 3, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was that remove? And why in this pull request? And why has this change been approved?

@roschaefer roschaefer self-assigned this Jul 14, 2024
@mahula mahula deleted the remark-from-root-folder-only branch July 25, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants