Skip to content

Commit 769595c

Browse files
committed
refactor: 2024
1 parent 636dbe7 commit 769595c

22 files changed

+1141
-2605
lines changed

.github/dependabot.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22
updates:
3-
- package-ecosystem: npm
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 99
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 99

.prettierrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"plugins": ["prettier-plugin-tailwindcss"]
3+
}

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,10 @@ A simple set-up.<br>
99

1010
- hydro-js
1111
- Comlink
12-
- TypeScript
13-
- Tailwind CSS
14-
- PostCSS
12+
- TailwindCSS with PostCSS
1513
- PWA
16-
- JSX
14+
- JSX & TypeScript
1715
- Image optimization
18-
- Web Test Runner
1916
- Bundler with Hot Module Replacement
20-
- Eslint
17+
- Prettier & ESLint
18+
- Web Test Runner

eslint.config.mjs

-40
This file was deleted.

eslint.config.ts

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
import type { Linter } from "eslint";
5+
6+
export default [
7+
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } },
8+
pluginJs.configs.recommended,
9+
...(tseslint.configs.recommended as never),
10+
] satisfies Linter.Config[];

0 commit comments

Comments
 (0)