Style upgrade, added minor nav bar, set up some basic routes and began work on components and components system.

This commit is contained in:
Hannah 2026-02-17 04:09:46 +01:00
commit 5eaf5f319f
14 changed files with 204 additions and 117 deletions

View file

@ -1,10 +1,32 @@
import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";
import prettier from "eslint-config-prettier/flat";
import unusedImports from "eslint-plugin-unused-imports";
const eslintConfig = defineConfig([
...nextVitals,
...nextTs,
prettier,
{
files: ["**/*.{ts,tsx}"],
plugins: {
"unused-imports": unusedImports,
},
rules: {
"no-unused-vars": "warn",
"no-empty-function": "warn",
"no-undef": "error",
"react/self-closing-comp": "warn",
"import/order": [
"warn",
{
"groups": ["builtin", "external", "internal"],
"newlines-between": "always"
}
]
}
},
// Override default ignores of eslint-config-next.
globalIgnores([
// Default ignores of eslint-config-next: