Skip to content

Commit

Permalink
Resolve eslint warning
Browse files Browse the repository at this point in the history
RISDEV-5314
  • Loading branch information
anne-ds committed Dec 11, 2024
1 parent 6cf0233 commit 0ed2298
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 10 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"node": ">=22.12.0"
},
"engineStrict": true,
"type": "module",
"scripts": {
"preserve": "vite build",
"serve": "vite preview",
Expand Down
2 changes: 1 addition & 1 deletion frontend/postcss.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: {
"postcss-import": {},
"postcss-scrollbar": {},
Expand Down
2 changes: 1 addition & 1 deletion frontend/prettier.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
plugins: ["prettier-plugin-tailwindcss"],
semi: false,
}
9 changes: 6 additions & 3 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
import styleDictionary from "@digitalservice4germany/style-dictionary/tailwind"
import plugins from "@digitalservice4germany/angie"

export default {
content: ["./src/**/*.{html,vue,js,ts}"],
presets: [require("@digitalservice4germany/style-dictionary/tailwind")],
plugins: [require("@digitalservice4germany/angie")],
presets: [styleDictionary],
plugins: [plugins],

theme: {
fontWeight: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from "@playwright/test"
import errorMessages from "@/i18n/errors.json"
import errorMessages from "@/i18n/errors.json" with { type: "json" }
import {
fillActiveCitationInputs,
fillEnsuingDecisionInputs,
Expand Down
3 changes: 1 addition & 2 deletions frontend/test/e2e/caselaw/categories/field-of-law.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { expect } from "@playwright/test"
import errorMessages from "@/i18n/errors.json"

import errorMessages from "@/i18n/errors.json" with { type: "json" }
import { navigateToCategories, save } from "~/e2e/caselaw/e2e-utils"
import { caselawTest as test } from "~/e2e/caselaw/fixtures"

Expand Down
2 changes: 1 addition & 1 deletion frontend/test/e2e/caselaw/documentunit-search.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from "@playwright/test"
import dayjs from "dayjs"
import errorMessages from "@/i18n/errors.json"
import errorMessages from "@/i18n/errors.json" with { type: "json" }

import {
deleteDocumentUnit,
Expand Down
2 changes: 1 addition & 1 deletion frontend/test/e2e/caselaw/fixtures.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Locator, Page, test } from "@playwright/test"
import dayjs from "dayjs"
import utc from "dayjs/plugin/utc"
import utc from "dayjs/plugin/utc.js"
import DocumentUnit from "../../../src/domain/documentUnit"
import { navigateToCategories } from "./e2e-utils"
import { Page as Pagination } from "@/components/Pagination.vue"
Expand Down

0 comments on commit 0ed2298

Please sign in to comment.