forked from chrismwilliams/astro-theme-cactus
-
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.
Merge branch 'main' of github.com:otisdog8/rooty.dev
- Loading branch information
Showing
45 changed files
with
2,492 additions
and
1,664 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,43 +1,68 @@ | ||
/** @type {import("@types/eslint").Linter.Config} */ | ||
module.exports = { | ||
ignorePatterns: ["node_modules", "dist"], | ||
root: true, | ||
env: { | ||
node: true, | ||
}, | ||
parser: "@typescript-eslint/parser", | ||
plugins: ["@typescript-eslint", "prettier"], | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:prettier/recommended", | ||
"prettier", | ||
"plugin:astro/recommended", | ||
"plugin:astro/jsx-a11y-recommended", | ||
"plugin:perfectionist/recommended-natural", | ||
"plugin:regexp/recommended", | ||
"plugin:typescript-sort-keys/recommended", | ||
], | ||
rules: { | ||
"@typescript-eslint/no-var-requires": "warn", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ varsIgnorePattern: "Props", ignoreRestSiblings: true }, | ||
], | ||
}, | ||
ignorePatterns: ["node_modules", "dist"], | ||
overrides: [ | ||
{ | ||
extends: ["plugin:@typescript-eslint/strict", "plugin:@typescript-eslint/stylistic"], | ||
files: ["*.astro"], | ||
parser: "astro-eslint-parser", | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
extraFileExtensions: [".astro"], | ||
parser: "@typescript-eslint/parser", | ||
}, | ||
rules: { | ||
"astro/jsx-a11y/no-redundant-roles": [ | ||
"error", | ||
{ | ||
ol: ["list"], | ||
ul: ["list"], | ||
}, | ||
], | ||
}, | ||
}, | ||
{ | ||
extends: [ | ||
"plugin:@typescript-eslint/strict-type-checked", | ||
"plugin:@typescript-eslint/stylistic-type-checked", | ||
], | ||
files: ["*.ts", "*.tsx"], | ||
rules: { | ||
"deprecation/deprecation": "error", | ||
}, | ||
}, | ||
{ | ||
extends: ["plugin:markdown/recommended"], | ||
files: ["**/*.md"], | ||
processor: "markdown/markdown", | ||
}, | ||
], | ||
parser: "@typescript-eslint/parser", | ||
plugins: [ | ||
"@typescript-eslint", | ||
"astro", | ||
"deprecation", | ||
"perfectionist", | ||
"regexp", | ||
"typescript-sort-keys", | ||
], | ||
root: true, | ||
rules: { | ||
"@typescript-eslint/no-unused-vars": [ | ||
"warn", | ||
{ ignoreRestSiblings: true, varsIgnorePattern: "Props" }, | ||
], | ||
"@typescript-eslint/no-var-requires": "warn", | ||
}, | ||
}; |
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,33 @@ | ||
{ | ||
// Place your astro-cactus workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and | ||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope | ||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is | ||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | ||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. | ||
// Placeholders with the same ids are connected. | ||
// Example: | ||
// "Print to console": { | ||
// "scope": "javascript,typescript", | ||
// "prefix": "log", | ||
// "body": [ | ||
// "console.log('$1');", | ||
// "$2" | ||
// ], | ||
// "description": "Log output to console" | ||
// } | ||
"Add frontmatter to an Astro Cactus Post": { | ||
"scope": "markdown,mdx", | ||
"prefix": "frontmatter", | ||
"body": [ | ||
"---", | ||
"title: ${TM_FILENAME_BASE/(.*)/${1:/capitalize}/}", | ||
"description: 'Please enter a description of your post here, between 50-160 chars!'", | ||
"publishDate: $CURRENT_DATE $CURRENT_MONTH_NAME $CURRENT_YEAR", | ||
"tags: []", | ||
"draft: false", | ||
"---", | ||
"$2", | ||
], | ||
"description": "Add frontmatter for new Markdown post", | ||
}, | ||
} |
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,17 +1,22 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
"[markdown]": { | ||
"editor.wordWrap": "on", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.markdownlint": "explicit" | ||
} | ||
"editor.wordWrap": "on" | ||
}, | ||
"prettier.documentSelectors": ["**/*.astro"], | ||
"eslint.validate": [ | ||
"eslint.probe": [ | ||
"astro", | ||
"javascript", | ||
"javascriptreact", | ||
"astro", // Enable .astro | ||
"typescript", // Enable .ts | ||
"markdown", | ||
"typescript", | ||
"typescriptreact" | ||
] | ||
], | ||
"[astro]": { | ||
"editor.defaultFormatter": "astro-build.astro-vscode" | ||
} | ||
} |
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
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
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,6 +1,6 @@ | ||
{ | ||
"name": "astro-cactus", | ||
"version": "3.6.1", | ||
"version": "4.3.0", | ||
"private": false, | ||
"scripts": { | ||
"dev": "astro dev", | ||
|
@@ -12,47 +12,52 @@ | |
"check": "astro check" | ||
}, | ||
"dependencies": { | ||
"@astrojs/mdx": "2.0.0", | ||
"@astrojs/rss": "4.0.1", | ||
"@astrojs/sitemap": "3.0.3", | ||
"@astrojs/tailwind": "5.0.3", | ||
"astro": "4.0.3", | ||
"astro-icon": "^0.8.2", | ||
"@astrojs/mdx": "2.2.0", | ||
"@astrojs/rss": "4.0.5", | ||
"@astrojs/sitemap": "3.1.1", | ||
"@astrojs/tailwind": "5.1.0", | ||
"astro": "4.5.5", | ||
"astro-expressive-code": "^0.33.5", | ||
"astro-icon": "^1.1.0", | ||
"rehype-external-links": "^3.0.0", | ||
"satori": "0.10.11", | ||
"satori": "0.10.13", | ||
"satori-html": "^0.3.2", | ||
"sharp": "^0.33.0" | ||
"sharp": "^0.33.2" | ||
}, | ||
"devDependencies": { | ||
"@astrojs/check": "^0.3.1", | ||
"@astrojs/check": "^0.5.9", | ||
"@iconify-json/mdi": "^1.1.64", | ||
"@pagefind/default-ui": "^1.0.4", | ||
"@resvg/resvg-js": "^2.6.0", | ||
"@tailwindcss/aspect-ratio": "^0.4.2", | ||
"@tailwindcss/typography": "^0.5.10", | ||
"@types/eslint": "^8.44.8", | ||
"@typescript-eslint/eslint-plugin": "^6.13.2", | ||
"@typescript-eslint/parser": "^6.13.2", | ||
"astro-eslint-parser": "^0.16.0", | ||
"autoprefixer": "^10.4.16", | ||
"eslint": "^8.55.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"@types/eslint": "^8.56.5", | ||
"@typescript-eslint/eslint-plugin": "^7.2.0", | ||
"@typescript-eslint/parser": "^7.2.0", | ||
"astro-eslint-parser": "^0.16.3", | ||
"autoprefixer": "^10.4.18", | ||
"eslint": "^8.57.0", | ||
"eslint-import-resolver-typescript": "^3.6.1", | ||
"eslint-plugin-astro": "^0.30.0", | ||
"eslint-plugin-import": "^2.29.0", | ||
"eslint-plugin-astro": "^0.31.4", | ||
"eslint-plugin-deprecation": "^2.0.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-jsx-a11y": "^6.8.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"eslint-plugin-markdown": "^4.0.1", | ||
"eslint-plugin-perfectionist": "^2.7.0", | ||
"eslint-plugin-regexp": "^2.3.0", | ||
"eslint-plugin-typescript-sort-keys": "^3.2.0", | ||
"mdast-util-to-string": "^4.0.0", | ||
"pagefind": "^1.0.4", | ||
"postcss": "^8.4.32", | ||
"postcss-html": "^1.5.0", | ||
"postcss-import": "^15.1.0", | ||
"prettier": "^3.1.0", | ||
"prettier-plugin-astro": "0.12.2", | ||
"prettier-plugin-tailwindcss": "^0.5.9", | ||
"postcss": "^8.4.35", | ||
"postcss-html": "^1.6.0", | ||
"postcss-import": "^16.0.1", | ||
"prettier": "^3.2.5", | ||
"prettier-plugin-astro": "0.13.0", | ||
"prettier-plugin-tailwindcss": "^0.5.12", | ||
"reading-time": "^1.5.0", | ||
"remark-unwrap-images": "^4.0.0", | ||
"tailwindcss": "^3.3.6", | ||
"typescript": "^5.3.3" | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^5.4.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.