diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..ed8cf37 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# http://editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{package.json,*.yml,*.js}] +indent_style = space +indent_size = 2 diff --git a/.eslintrc.cjs b/.eslintrc.cjs new file mode 100644 index 0000000..5b441ce --- /dev/null +++ b/.eslintrc.cjs @@ -0,0 +1,32 @@ +/** @type {import('eslint').Linter.Config} */ +module.exports = { + root: true, + env: { + browser: true, + es2022: true, + node: true, + }, + extends: [ + 'eslint:recommended', + 'plugin:svelte/recommended', + 'prettier', + ], + overrides: [ + { + files: ['*.svelte'], + processor: 'svelte3/svelte3', + }, + ], + plugins: ['svelte'], + settings: { + // Let ESLint understand Svelte + 'svelte3/ignore-styles': () => true, + }, + parserOptions: { + ecmaVersion: 'latest', + sourceType: 'module', + }, + rules: { + // Customize your rules here + }, +}; diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..13a9c1e --- /dev/null +++ b/.prettierignore @@ -0,0 +1,22 @@ +# Ignore node_modules +node_modules/ + +# Build output +.build/ +.svelte-kit/ +dist/ + +# Ignore lock files +package-lock.json +pnpm-lock.yaml +yarn.lock + +# Ignore environment files +.env +.env.*.local + +# VSCode settings +.vscode/ + +# Ignore output from lint or test tools +coverage/ diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..91d4d7c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,10 @@ +{ + "singleQuote": true, + "useTabs": false, + "tabWidth": 2, + "trailingComma": "all", + "printWidth": 80, + "semi": true, + "bracketSpacing": true, + "arrowParens": "always" +} diff --git a/.svelte-kit/generated/server/internal.js b/.svelte-kit/generated/server/internal.js index 6719b3f..9533fcb 100644 --- a/.svelte-kit/generated/server/internal.js +++ b/.svelte-kit/generated/server/internal.js @@ -21,7 +21,7 @@ export const options = { app: ({ head, body, assets, nonce, env }) => "\n\n\t
\n\t\t\n\t\t\n\t\t\n\t\t" + head + "\n\t\n\t\n\t\tVisit svelte.dev/docs/kit to read the documentation
+ ++ Visitsvelte.dev/docs/kit to read the + documentation +