Skip to content

Commit

Permalink
print: migrate to flat config
Browse files Browse the repository at this point in the history
Using npx @eslint/migrate-config .eslintrc.json
Then add the additional packages needed
(@eslint/compat, globals, @eslint/eslintrc, @eslint/js)
Add paths from the .gitignore file to the ignored patterns.
Also lint .ts files with eslint (this seems not to be the default).
Remove the options from the call to eslint which are not
supported anymore in the package.json.
Ignore common, .nuxt and .output explicitly, because it did not work with
includeIgnoreFile.

Issue: ecamp#5282
  • Loading branch information
BacLuc committed Aug 13, 2024
1 parent 1f66f4f commit 9df017a
Show file tree
Hide file tree
Showing 9 changed files with 1,158 additions and 1,118 deletions.
30 changes: 0 additions & 30 deletions print/.eslintrc.json

This file was deleted.

4 changes: 3 additions & 1 deletion print/components/PicassoChunk.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
{{ $t('print.picasso.title') }}
{{ period.description }}
</h1>
<p class="tw-text-md tw-text-end">{{ camp.organizer }}</p>
<p class="tw-text-md tw-text-end">
{{ camp.organizer }}
</p>
</div>

<div class="tw-flex-auto fullwidth">
Expand Down
4 changes: 3 additions & 1 deletion print/components/config/Cover.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template>
<div class="tw-break-after-page tw-text-center">
<div class="tw-font-medium tw-mt-20 tw-text-xl">{{ camp.name }}</div>
<div class="tw-font-medium tw-mt-20 tw-text-xl">
{{ camp.name }}
</div>

<div :id="`content_${index}_cover`" class="tw-my-12 tw-text-6xl tw-font-semibold">
{{ camp.title }}
Expand Down
Loading

0 comments on commit 9df017a

Please sign in to comment.