diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 8f2bbcd..e40d000 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -8,8 +8,8 @@ module.exports = { root: true, parserOptions: { - ecmaVersion: "latest", - sourceType: "module", + ecmaVersion: 'latest', + sourceType: 'module', ecmaFeatures: { jsx: true, }, @@ -21,29 +21,29 @@ module.exports = { }, // Base config - extends: ["eslint:recommended"], + extends: ['eslint:recommended'], overrides: [ // React { - files: ["**/*.{js,jsx,ts,tsx}"], - plugins: ["react", "jsx-a11y"], + files: ['**/*.{js,jsx,ts,tsx}'], + plugins: ['react', 'jsx-a11y'], extends: [ - "plugin:react/recommended", - "plugin:react/jsx-runtime", - "plugin:react-hooks/recommended", - "plugin:jsx-a11y/recommended", + 'plugin:react/recommended', + 'plugin:react/jsx-runtime', + 'plugin:react-hooks/recommended', + 'plugin:jsx-a11y/recommended', ], settings: { react: { - version: "detect", + version: 'detect', }, - formComponents: ["Form"], + formComponents: ['Form'], linkComponents: [ - { name: "Link", linkAttribute: "to" }, - { name: "NavLink", linkAttribute: "to" }, + { name: 'Link', linkAttribute: 'to' }, + { name: 'NavLink', linkAttribute: 'to' }, ], - "import/resolver": { + 'import/resolver': { typescript: {}, }, }, @@ -51,14 +51,14 @@ module.exports = { // Typescript { - files: ["**/*.{ts,tsx}"], - plugins: ["@typescript-eslint", "import"], - parser: "@typescript-eslint/parser", + files: ['**/*.{ts,tsx}'], + plugins: ['@typescript-eslint', 'import'], + parser: '@typescript-eslint/parser', settings: { - "import/internal-regex": "^~/", - "import/resolver": { + 'import/internal-regex': '^~/', + 'import/resolver': { node: { - extensions: [".ts", ".tsx"], + extensions: ['.ts', '.tsx'], }, typescript: { alwaysTryTypes: true, @@ -66,15 +66,15 @@ module.exports = { }, }, extends: [ - "plugin:@typescript-eslint/recommended", - "plugin:import/recommended", - "plugin:import/typescript", + 'plugin:@typescript-eslint/recommended', + 'plugin:import/recommended', + 'plugin:import/typescript', ], }, // Node { - files: [".eslintrc.js"], + files: ['.eslintrc.js'], env: { node: true, }, diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..5691ef9 --- /dev/null +++ b/.prettierignore @@ -0,0 +1,4 @@ +.vite +.vscode +CHANGELOG.md +package-lock.json diff --git a/.vscode/settings.json b/.vscode/settings.json index 4599419..aa31ea8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,5 +1,9 @@ { "cSpell.words": [ - "tailwindcss" + "addressverification", + "isbot", + "packagejson", + "tailwindcss", + "typecheck" ] } diff --git a/README.md b/README.md index b231d13..0866a0c 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # addressverification + A simple web app for verifying addresses within the State of Utah 📖 See the [Remix docs](https://remix.run/docs) and the [Remix Vite docs](https://remix.run/docs/en/main/future/vite) for details on supported features. diff --git a/app/root.tsx b/app/root.tsx index f358310..7b42ea7 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -5,8 +5,8 @@ import { Outlet, Scripts, ScrollRestoration, -} from "@remix-run/react"; -import "./tailwind.css"; +} from '@remix-run/react'; +import './tailwind.css'; export default function App() { return ( diff --git a/app/routes/_index.tsx b/app/routes/_index.tsx index 5347369..99460bf 100644 --- a/app/routes/_index.tsx +++ b/app/routes/_index.tsx @@ -1,15 +1,15 @@ -import type { MetaFunction } from "@remix-run/node"; +import type { MetaFunction } from '@remix-run/node'; export const meta: MetaFunction = () => { return [ - { title: "New Remix App" }, - { name: "description", content: "Welcome to Remix!" }, + { title: 'New Remix App' }, + { name: 'description', content: 'Welcome to Remix!' }, ]; }; export default function Index() { return ( -
+

Welcome to Remix