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

print: revert "update js-linter" #3733

Merged
merged 1 commit into from Aug 22, 2023

Conversation

BacLuc
Copy link
Contributor

@BacLuc BacLuc commented Aug 22, 2023

print: revert "update js-linter"

From commit 9b34417.
One commit before this still worked, with commit 9b34417 the dev mode is broken.
Nuxt 2 clashes with the new prettier, thus we stay at prettier v2.
Also add package rules for print/package.json for these 2 packages in renovate.json.
Also revert the format changes from 5585942.

Else we have the following error for all vue templates when running npm run dev:
ecamp3-print  | > 1 | [object Promise]
ecamp3-print  |     |         ^
ecamp3-print  |   2 | export { render, staticRenderFns }
ecamp3-print  |     at parser.next ()
ecamp3-print  |     at normalizeFile.next ()
ecamp3-print  |     at run.next ()
ecamp3-print  |     at transform.next ()
ecamp3-print  |
ecamp3-print  |
ecamp3-print  | [log] [friendly-errors]
ecamp3-print  |  @ ./pages/index.vue?vue&type=template&id=2a183b29& 1:0-290 1:0-290
ecamp3-print  |  @ ./pages/index.vue
ecamp3-print  |  @ ./.nuxt/router.js
ecamp3-print  |  @ ./.nuxt/index.js
ecamp3-print  |  @ ./.nuxt/client.js
ecamp3-print  |  @ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js

Copy link
Member

@carlobeltrame carlobeltrame left a comment

Choose a reason for hiding this comment

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

How do we prevent renovate from simply updating this again?

From commit 9b34417.
One commit before this still worked, with commit 9b34417 the dev mode is broken.
Nuxt 2 clashes with the new prettier, thus we stay at prettier v2.
Also add package rules for print/package.json for these 2 packages in renovate.json.
Also revert the format changes from 5585942.

Else we have the following error for all vue templates when running npm run dev:
ecamp3-print  | > 1 | [object Promise]
ecamp3-print  |     |         ^
ecamp3-print  |   2 | export { render, staticRenderFns }
ecamp3-print  |     at parser.next (<anonymous>)
ecamp3-print  |     at normalizeFile.next (<anonymous>)
ecamp3-print  |     at run.next (<anonymous>)
ecamp3-print  |     at transform.next (<anonymous>)
ecamp3-print  |
ecamp3-print  |
ecamp3-print  | [log] [friendly-errors]
ecamp3-print  |  @ ./pages/index.vue?vue&type=template&id=2a183b29& 1:0-290 1:0-290
ecamp3-print  |  @ ./pages/index.vue
ecamp3-print  |  @ ./.nuxt/router.js
ecamp3-print  |  @ ./.nuxt/index.js
ecamp3-print  |  @ ./.nuxt/client.js
ecamp3-print  |  @ multi ./node_modules/eventsource-polyfill/dist/browserify-eventsource.js (webpack)-hot-middleware/client.js?reload=true&timeout=30000&ansiColors=&overlayStyles=&path=%2F__webpack_hmr%2Fclient&name=client ./.nuxt/client.js
@BacLuc
Copy link
Contributor Author

BacLuc commented Aug 22, 2023

How do we prevent renovate from simply updating this again?

uups, the renovate.json changes got lost.
Tested them against my fork, and the update of prettier and eslint-plugin-prettier is not on my dashboard anymore:
BacLuc#146

@carlobeltrame carlobeltrame merged commit 527f03a into ecamp:devel Aug 22, 2023
26 checks passed
@BacLuc BacLuc deleted the fix-print-dev-mode branch August 22, 2023 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants