-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
458 changed files
with
24,873 additions
and
27,890 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
public | ||
# config | ||
dist | ||
node_modules | ||
.cache | ||
content | ||
.github | ||
types.generated.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,62 @@ | ||
/** @type {import("eslint").Linter.Config} */ | ||
module.exports = { | ||
parser: "@typescript-eslint/parser", | ||
extends: ["airbnb-base", "prettier"], | ||
plugins: ["react", "jsx-a11y", "import"], | ||
env: { | ||
node: true, | ||
es2022: true, | ||
browser: true, | ||
}, | ||
plugins: ["tailwindcss"], | ||
extends: ["eslint:recommended", "plugin:astro/recommended", "plugin:tailwindcss/recommended"], | ||
parserOptions: { | ||
ecmaVersion: "latest", | ||
sourceType: "module", | ||
}, | ||
rules: { | ||
"arrow-parens": ["error", "as-needed"], | ||
"no-console": "off", | ||
"no-else-return": "off", | ||
"no-plusplus": "off", | ||
"no-use-before-define": ["error", { functions: false }], | ||
"object-curly-newline": "off", | ||
"operator-linebreak": ["error", "after"], | ||
semi: "off", | ||
"tailwindcss/migration-from-tailwind-2": "off", | ||
"tailwindcss/no-custom-classname": "off", | ||
"tailwindcss/classnames-order": "off", | ||
}, | ||
settings: { | ||
// "import/core-modules": [], | ||
"import/resolver": { | ||
alias: [ | ||
["assets", "./src/assets/*"], | ||
["components", "./src/components/*"], | ||
["config", "./config"], | ||
["hooks", "./src/hooks"], | ||
["images", "./src/images"], | ||
["layout", "./src/layout"], | ||
["models", "./src/models"], | ||
["pages", "./src/pages"], | ||
["services", "./src/services"], | ||
["utils", "./src/utils"], | ||
], | ||
tailwindcss: { | ||
config: "./tailwind.config.cjs", | ||
}, | ||
}, | ||
env: { | ||
browser: true, | ||
node: true, | ||
es6: true, | ||
}, | ||
ignorePatterns: ["**/.astro/**"], | ||
overrides: [ | ||
{ | ||
files: ["*.js"], | ||
rules: { | ||
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"], | ||
}, | ||
}, | ||
{ | ||
files: ["*.astro"], | ||
parser: "astro-eslint-parser", | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
extraFileExtensions: [".astro"], | ||
}, | ||
rules: { | ||
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"], | ||
}, | ||
}, | ||
{ | ||
files: ["*.ts"], | ||
parser: "@typescript-eslint/parser", | ||
extends: ["plugin:@typescript-eslint/recommended"], | ||
rules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ argsIgnorePattern: "^_", destructuredArrayIgnorePattern: "^_" }, | ||
], | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
}, | ||
}, | ||
{ | ||
// Define the configuration for `<script>` tag. | ||
// Script in `<script>` is assigned a virtual file name with the `.js` extension. | ||
files: ["**/*.astro/*.js", "*.astro/*.js"], | ||
parser: "@typescript-eslint/parser", | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,23 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
# build output | ||
dist/ | ||
# generated types | ||
.astro/ | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
.deprecated/ | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
# dependencies | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# dotenv environment variable files | ||
.env* | ||
|
||
# gatsby files | ||
.cache/ | ||
public | ||
# environment variables | ||
.env | ||
.env.production | ||
|
||
# Mac files | ||
# macOS-specific files | ||
.DS_Store | ||
|
||
# Yarn | ||
yarn-error.log | ||
.pnp/ | ||
.pnp.js | ||
# Yarn Integrity file | ||
.yarn-integrity |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.cache | ||
package.json | ||
package-lock.json | ||
public | ||
dist | ||
node_modules | ||
.github | ||
.changeset | ||
package.json |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/** @type {import('prettier').Config} */ | ||
module.exports = { | ||
printWidth: 120, | ||
semi: false, | ||
singleQuote: false, | ||
tabWidth: 2, | ||
trailingComma: 'es5', | ||
// useTabs: false, | ||
plugins: [require.resolve('prettier-plugin-astro')], | ||
overrides: [{ files: '*.astro', options: { parser: 'astro' } }], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"recommendations": ["astro-build.astro-vscode"], | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"command": "./node_modules/.bin/astro dev", | ||
"name": "Development server", | ||
"request": "launch", | ||
"type": "node-terminal" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
// // Workspace settings | ||
{ | ||
"window.zoomLevel": -1, | ||
"editor.fontFamily": "'IBM Plex Mono', 'Source Code Pro', Menlo, Monaco, 'Courier New', monospace", | ||
"editor.fontSize": 13, | ||
"editor.fontLigatures": true, | ||
// "editor.insertSpaces": false, | ||
"editor.minimap.enabled": false, | ||
"editor.quickSuggestionsDelay": 100, | ||
"editor.multiCursorModifier": "ctrlCmd", | ||
"editor.formatOnPaste": false, | ||
"editor.suggestFontSize": 11, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
// "workbench.colorTheme": "Dracula", | ||
"workbench.colorCustomizations": { | ||
}, | ||
"files.exclude": { | ||
"**/.git": false | ||
}, | ||
"eslint.options": { | ||
"files.exclude": { | ||
"**/.git": true, | ||
"**/.DS_Store": true, | ||
"**/*.{css,less,sass,scss}": true, | ||
"node_modules/**": true | ||
} | ||
}, | ||
// tailwind stuff | ||
"files.associations": { | ||
"*.mdx": "markdown", | ||
"*.css": "tailwindcss" | ||
}, | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"tailwindCSS.includeLanguages": { | ||
"plaintext": "html", | ||
}, | ||
"prettier.semi": false, | ||
"prettier.trailingComma": "es5", | ||
"prettier.printWidth": 120, | ||
"prettier.documentSelectors": ["**/*.astro"], | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"astro", | ||
"typescript", | ||
"typescriptreact", | ||
// | ||
], | ||
"[astro]": { | ||
// "editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"editor.formatOnSave": true | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"editor.formatOnSave": true | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"editor.formatOnSave": true | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"editor.formatOnSave": true | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.insertSpaces": true, | ||
"editor.tabSize": 2, | ||
"editor.formatOnSave": true | ||
}, | ||
"[python]": { | ||
"editor.formatOnSave": true, | ||
"editor.tabSize": 4 | ||
// "editor.defaultFormatter": "black" | ||
}, | ||
"[json]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
} | ||
} |
Oops, something went wrong.