Skip to content

Commit 55b92b4

Browse files
committed
Add missing files for MVP of vite based site
1 parent a3cc0fb commit 55b92b4

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

eslint.config.js

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import { FlatCompat } from '@eslint/eslintrc';
2+
import js from '@eslint/js';
3+
import { fileURLToPath } from 'url';
4+
import { dirname } from 'path';
5+
6+
const __filename = fileURLToPath(import.meta.url);
7+
const __dirname = dirname(__filename);
8+
9+
const compat = new FlatCompat({
10+
baseDirectory: __dirname,
11+
});
12+
13+
export default [
14+
{
15+
ignores: ['node_modules/**', 'dist/**'], // Add ignored paths here
16+
},
17+
js.configs.recommended,
18+
{
19+
ignores: ['node_modules/**'],
20+
},
21+
...compat.config({
22+
env: {
23+
browser: true,
24+
es2021: true,
25+
},
26+
rules: {
27+
// Add custom rules here if needed
28+
},
29+
}),
30+
];

index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!-- This is just here so Vite has something to start from -->

public/javascript.svg

Lines changed: 2 additions & 0 deletions
Loading

public/vite.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)