Skip to content

Commit 668c9d6

Browse files
authored
fix: fixes some sonar issues (#5)
* fixes some sonar issues * fixes some sonar issues
1 parent 0288b21 commit 668c9d6

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

apps/playground/eslint.config.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { dirname } from "path";
2-
import { fileURLToPath } from "url";
1+
import { dirname } from "node:path";
2+
import { fileURLToPath } from "node:url";
33
import { FlatCompat } from "@eslint/eslintrc";
44

55
const __filename = fileURLToPath(import.meta.url);

apps/playground/globals.css

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
@import 'tailwindcss';
1+
@import "tailwindcss";
22

3-
/* NOSONAR */
4-
@plugin '@tailwindcss/forms';
3+
@plugin '@tailwindcss/forms'; /*NOSONAR*/
54

6-
/* NOSONAR */
7-
@custom-variant dark (&:is(.dark *));
5+
@custom-variant dark (&:is(.dark *)); /*NOSONAR*/
86

97
/*
108
The default border color has changed to `currentcolor` in Tailwind CSS v4,
@@ -15,12 +13,11 @@
1513
color utility to any element that depends on these defaults.
1614
*/
1715
@layer base {
18-
1916
*,
2017
::after,
2118
::before,
2219
::backdrop,
2320
::file-selector-button {
2421
border-color: var(--color-gray-200, currentcolor);
2522
}
26-
}
23+
}

0 commit comments

Comments
 (0)