Skip to content

Commit

Permalink
print: revert "update js-linter"
Browse files Browse the repository at this point in the history
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.
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
  • Loading branch information
BacLuc committed Aug 22, 2023
1 parent f0d9cdd commit 16f65ec
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 406 deletions.
7 changes: 1 addition & 6 deletions print/assets/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,5 @@
// The variables you want to modify
// $font-size-root: 20px;

$body-font-family:
'InterDisplay',
Helvetica Neue,
Helvetica,
Arial,
sans-serif;
$body-font-family: 'InterDisplay', Helvetica Neue, Helvetica, Arial, sans-serif;
$font-size-root: 10pt;
Loading

0 comments on commit 16f65ec

Please sign in to comment.