Skip to content

Commit

Permalink
fucked config
Browse files Browse the repository at this point in the history
  • Loading branch information
7rs committed Jun 17, 2024
1 parent 8251363 commit 722f0b6
Show file tree
Hide file tree
Showing 15 changed files with 112 additions and 114 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ end_of_line = lf
insert_final_newline = true
indent_style = space

[{*.astro,*.md,*.mdx}]
[{*.js,*.ts,*.astro,*.md,*.mdx}]
indent_size = 2

[{*.md,*.mdx}]
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.md
*.mdx
*.json
11 changes: 0 additions & 11 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
"plugins": ["prettier-plugin-astro"],
"astroAllowShorthand": false,
"overrides": [
{
"files": [".prettierrc", "*.json"],
"options": {
"parser": "json",
"tabWidth": 4
}
},
{
"files": [
"*.ts",
Expand All @@ -31,10 +24,6 @@
"singleQuote": true
}
},
{
"files": ["*.styl"],
"options": { "trailingComma": "all" }
},
{
"files": ["*.mdx"],
"options": {
Expand Down
11 changes: 9 additions & 2 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
{
"recommendations": ["astro-build.astro-vscode"],
"unwantedRecommendations": []
"recommendations": [
"astro-build.astro-vscode",
"biomejs.biome",
"esbenp.prettier-vscode",
"davidanson.vscode-markdownlint",
"editorconfig.editorconfig",
"dbaeumer.vscode-eslint",
"unifiedjs.vscode-mdx"
]
}
32 changes: 29 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
{
"prettier.configPath": "./.prettierrc",
"prettier.ignorePath": "./.prettierignore",
}
"prettier.configPath": "./.prettierrc",
"prettier.ignorePath": "./.prettierignore",
// Formatters
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[json]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescript]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[javascriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[typescriptreact]": {
"editor.defaultFormatter": "biomejs.biome"
},
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
"[mdx]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
18 changes: 18 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"formatter": {
"enabled": true,
"indentStyle": "space",
"lineWidth": 120
},
"linter": {
"enabled": true
},
"overrides": [
{
"include": [".prettierrc", "*.json"],
"formatter": {
"indentWidth": 4
}
}
]
}
Binary file modified bun.lockb
Binary file not shown.
11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// @ts-check

import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import astro from "eslint-plugin-astro";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
...astro.configs.recommended,
);
64 changes: 36 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,38 @@
{
"name": "docs",
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"start": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/starlight": "^0.24.2",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.10.2",
"sharp": "^0.33.4",
"starlight": "^0.3.9",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5"
},
"devDependencies": {
"@fontsource/biz-udgothic": "^5.0.19",
"@fontsource/biz-udpgothic": "^5.0.19",
"@fontsource/fira-code": "^5.0.18",
"@fontsource/fira-sans": "^5.0.20",
"prettier": "^3.3.2",
"prettier-plugin-astro": "^0.14.0"
}
"name": "docs",
"private": true,
"type": "module",
"version": "0.0.1",
"scripts": {
"dev": "astro dev",
"build": "astro check && astro build",
"preview": "astro preview",
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.7.0",
"@astrojs/starlight": "^0.24.2",
"@astrojs/tailwind": "^5.1.0",
"astro": "^4.10.2",
"sharp": "^0.33.4",
"starlight": "^0.3.9",
"tailwindcss": "^3.4.4",
"typescript": "^5.4.5"
},
"devDependencies": {
"@biomejs/biome": "1.8.1",
"@eslint/js": "^9.5.0",
"@fontsource/biz-udgothic": "^5.0.19",
"@fontsource/biz-udpgothic": "^5.0.19",
"@fontsource/fira-code": "^5.0.18",
"@fontsource/fira-sans": "^5.0.20",
"@types/eslint": "^8.56.10",
"@types/eslint__js": "^8.42.3",
"@typescript-eslint/parser": "^7.13.0",
"eslint": "^9.5.0",
"eslint-plugin-astro": "^1.2.2",
"prettier": "^3.3.2",
"prettier-plugin-astro": "^0.14.0",
"typescript-eslint": "^7.13.0"
}
}
8 changes: 4 additions & 4 deletions src/content/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ hero:
file: ../../assets/chaos.svg
actions:
- text: Get Started
link: /chaos/guides/get-started/
link: /chaos/guides/get-started
icon: right-arrow
variant: primary
- text: View Mods
link: /chaos/mods/optimization/
icon: information
- text: 日本語に切り替える
link: /chaos/ja
icon: translate
---

import { Card, CardGrid } from '@astrojs/starlight/components';
Expand Down
6 changes: 3 additions & 3 deletions src/content/docs/ja/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ hero:
link: /chaos/ja/guides/get-started/
icon: right-arrow
variant: primary
- text: 使われているMODを見る
link: /chaos/ja/mods/optimization/
icon: information
- text: Switch to English
link: /chaos
icon: translate
---

import { Card, CardGrid } from '@astrojs/starlight/components';
Expand Down
20 changes: 0 additions & 20 deletions src/content/docs/mods/3d.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,26 +78,6 @@ import ModCard from '@components/ModCard.astro';

</ModCard>

## Make Bubbles Pop

<ModCard
modrinth={{ name: 'make_bubbles_pop', id: 'gPCdW0Wr' }}
curseforge={{ name: 'make-bubbles-pop', id: '605235' }}
source={{ author: 'tschipcraft', name: 'make_bubbles_pop', service: 'github' }}
>

</ModCard>

## 3d Skin Layers

<ModCard
modrinth={{ name: '3dskinlayers', id: 'zV5r3pPn' }}
curseforge={{ name: 'skin-layers-3d', id: '521480' }}
source={{ author: 'tr7zw', name: '3d-skin-layers', service: 'github' }}
>

</ModCard>

## Not Enough Animations

<ModCard
Expand Down
13 changes: 0 additions & 13 deletions src/content/docs/mods/adventure.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,6 @@ import ModCard from '@components/ModCard.astro';

</ModCard>

## The Lost Cities

[![Docs][docs]](https://mcjty.eu/docs/mods/lost-cities)
[![Docs][docs-uc]](https://rlcraft.fandom.com/wiki/The_Lost_Cities)

<ModCard
modrinth={{ name: 'the-lost-cities', id: '8VDCUS3b' }}
curseforge={{ name: 'the-lost-cities', id: '269024' }}
source={{ author: 'mcjtymods', name: 'lostcities', service: 'github' }}
>

</ModCard>

## Alex's Caves

[![Docs][docs]](https://alexscaves.wiki.gg/)
Expand Down
10 changes: 0 additions & 10 deletions src/content/docs/mods/optimization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -152,16 +152,6 @@ import ModCard from '@components/ModCard.astro';
Not load nearby chunks to speed-up when enters the world.
</ModCard>

## Chunky

<ModCard
modrinth={{ name: 'chunky', id: 'fALzjamp' }}
curseforge={{ name: 'chunky-pregenerator-forge', id: '485681' }}
source={{ author: 'pop4959', name: 'chunky', service: 'github' }}
>
Adds commands to pre-generate chunks in the background.
</ModCard>

## Noisium

<ModCard
Expand Down
19 changes: 0 additions & 19 deletions src/content/docs/mods/quality-of-life.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -240,15 +240,6 @@ import ModCard from '@components/ModCard.astro';
Shows amounts of hunger recovery for the item.
</ModCard>

## Clickable advancements

<ModCard
curseforge={{ name: 'clickable-advancements', id: '511733' }}
source={{ author: 'someaddons', name: 'clickableadvancements', service: 'github' }}
>
Makes it clickable to advancements.
</ModCard>

## Auto HUD

<ModCard
Expand All @@ -268,13 +259,3 @@ import ModCard from '@components/ModCard.astro';
>
Resolves loud sound effects.
</ModCard>

## Craftable Horse Armour & Saddle [CHA&S]

<ModCard
modrinth={{ name: 'cha-s', id: 'fExf3hZa' }}
curseforge={{ name: 'cha-s', id: '224841' }}
source={{ author: 'ewyboy', name: 'cha-s', service: 'github' }}
>
Allows to craft horse armours.
</ModCard>

0 comments on commit 722f0b6

Please sign in to comment.