Style upgrade, added minor nav bar, set up some basic routes and began work on components and components system.
This commit is contained in:
parent
a0be72856c
commit
5eaf5f319f
14 changed files with 204 additions and 117 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue