Skip to content

Commit

Permalink
big reconstruction beginning
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanazf committed Oct 18, 2024
1 parent c279719 commit 229ed68
Show file tree
Hide file tree
Showing 88 changed files with 10,157 additions and 8,958 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

[*.{js,json,yml}]
charset = utf-8
indent_style = space
indent_size = 2
53 changes: 0 additions & 53 deletions .eslintrc.json

This file was deleted.

5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# other
.gitattributes
.yarn
.astro
11 changes: 0 additions & 11 deletions .prettierrc

This file was deleted.

29 changes: 1 addition & 28 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,28 +1 @@
## Usage

```bash
$ npm install # or pnpm install or yarn install
```

### Learn more on the [Solid Website](https://solidjs.com) and come chat with us on our [Discord](https://discord.com/invite/solidjs)

## Available Scripts

In the project directory, you can run:

### `npm run dev`

Runs the app in the development mode.<br>
Open [http://localhost:5173](http://localhost:5173) to view it in the browser.

### `npm run build`

Builds the app for production to the `dist` folder.<br>
It correctly bundles Solid in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.<br>
Your app is ready to be deployed!

## Deployment

Learn more about deploying your application with the [documentations](https://vitejs.dev/guide/static-deploy.html)
# Xanazf (me) website (mine)
20 changes: 20 additions & 0 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
import { defineConfig } from "astro/config";
import solidJs from "@astrojs/solid-js";
import mdx from "@astrojs/mdx";
import icon from "astro-icon";

//import pagefind from "./pagefind";
import { markdownConfig } from "./src/config/io/markdown.ts";

// https://astro.build/config
export default defineConfig({
markdown: markdownConfig,
integrations: [
solidJs({
devtools: true,
}),
mdx(),
//pagefind(),
icon(),
],
});
87 changes: 87 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"formatter": {
"enabled": true,
"formatWithErrors": true,
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 66,
"attributePosition": "multiline"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noVar": "error",
"useConst": "error"
},
"suspicious": {
"noDoubleEquals": "error"
},
"correctness": {
"useJsxKeyInIterable": "info"
}
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "always",
"arrowParentheses": "asNeeded",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "double",
"lineWidth": 66,
"attributePosition": "multiline"
}
},
"overrides": [
{
"include": [
"**/*.ts",
"**/*.tsx"
],
"linter": {
"rules": {
"complexity": {
"noBannedTypes": "off"
},
"correctness": {
"noInvalidUseBeforeDeclaration": "off"
},
"style": {
"noNonNullAssertion": "off"
},
"suspicious": {
"noExplicitAny": "info",
"noDuplicateClassMembers": "off",
"noEmptyBlockStatements": "off"
},
"a11y": {
"noSvgWithoutTitle": "info"
}
}
}
},
{
"include": [
"*.astro"
],
"linter": {
"rules": {
"style": {
"useConst": "off",
"useImportType": "off"
}
}
}
}
]
}
40 changes: 0 additions & 40 deletions index.html

This file was deleted.

Loading

0 comments on commit 229ed68

Please sign in to comment.