Skip to content

Commit e4078f5

Browse files
authored
Merge pull request #10717 from kodadot/main
beta update
2 parents 134c13a + d7fc001 commit e4078f5

File tree

746 files changed

+12803
-8903
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

746 files changed

+12803
-8903
lines changed

.eslintrc.js

Lines changed: 0 additions & 99 deletions
This file was deleted.

.github/diagram.svg

Lines changed: 1 addition & 1 deletion
Loading

.github/workflows/reviewdog.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Reviewdog
22

33
on:
4-
pull_request:
4+
pull_request: {}
5+
push:
56
branches: [main]
67

78
jobs:
@@ -20,6 +21,6 @@ jobs:
2021
level: error
2122
github_token: ${{ secrets.GITHUB_TOKEN }}
2223
reporter: github-pr-review
23-
eslint_flags: '--quiet --ignore-path .gitignore --ext .js,.ts,.vue .'
24+
eslint_flags: '--quiet .'
2425
fail_on_error: true
2526
filter_mode: nofilter

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

.prettierignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.vscode/settings.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,54 @@
11
{
22
"deno.enable": false,
33
"typescript.tsdk": "node_modules/typescript/lib",
4-
"typescript.enablePromptUseWorkspaceTsdk": true
4+
"typescript.enablePromptUseWorkspaceTsdk": true,
55

6+
// https://github.com/antfu/eslint-config#vs-code-support-auto-fix-on-save
7+
// Disable the default formatter, use eslint instead
8+
"prettier.enable": false,
9+
"editor.formatOnSave": false,
10+
11+
// Auto fix
12+
"editor.codeActionsOnSave": {
13+
"source.fixAll.eslint": "explicit",
14+
"source.organizeImports": "never"
15+
},
16+
17+
// Silent the stylistic rules in you IDE, but still auto fix them
18+
"eslint.rules.customizations": [
19+
{ "rule": "style/*", "severity": "off" },
20+
{ "rule": "format/*", "severity": "off" },
21+
{ "rule": "*-indent", "severity": "off" },
22+
{ "rule": "*-spacing", "severity": "off" },
23+
{ "rule": "*-spaces", "severity": "off" },
24+
{ "rule": "*-order", "severity": "off" },
25+
{ "rule": "*-dangle", "severity": "off" },
26+
{ "rule": "*-newline", "severity": "off" },
27+
{ "rule": "*quotes", "severity": "off" },
28+
{ "rule": "*semi", "severity": "off" }
29+
],
30+
31+
// Enable eslint for all supported languages
32+
"eslint.validate": [
33+
"javascript",
34+
"javascriptreact",
35+
"typescript",
36+
"typescriptreact",
37+
"vue",
38+
"html",
39+
"markdown",
40+
"json",
41+
"jsonc",
42+
"yaml",
43+
"toml",
44+
"xml",
45+
"gql",
46+
"graphql",
47+
"astro",
48+
"css",
49+
"less",
50+
"scss",
51+
"pcss",
52+
"postcss"
53+
]
654
}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ You'll find our goals for KodaDot upcoming future!
5959
- [Farcaster /koda](https://warpcast.com/~/channel/koda) 👈👀🫡
6060
- Follow us on [Twitter](https://twitter.com/KodaDot)
6161
- [Youtube](https://www.youtube.com/channel/UCEULduld5NrqOL49k1KVjoA)
62-
- [Beehiiv](https://kodadotweeklyroundup.beehiiv.com/)
62+
- [Beehiiv](https://kodaweeklyroundup.beehiiv.com/)
6363
- [Medium](https://blog.kodadot.xyz), [Instagram](https://instagram.com/kodadot.xyz),
6464
- Join our [Telegram KodaDot Ecosystem](https://t.me/koda_eco),
6565
- [Pick your T-shirt in KodaDot Swag Shop](https://shop.kodadot.xyz), use voucher `readme100` to get 100% OFF, first 10 redemptions only.
6666

6767
# Fix dependency bump by renovate bot
6868

69-
`git checkout origin/main pnpm-lock.yaml && pnpm install`
69+
`git checkout origin/main pnpm-lock.yaml && pnpm install`

app/router.scrollBehavior.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const findEl = async (hash, x = 0) => {
22
return (
3-
document.querySelector(hash) ||
4-
new Promise((resolve) => {
3+
document.querySelector(hash)
4+
|| new Promise((resolve) => {
55
if (x > 50) {
66
return resolve(document.querySelector('#app'))
77
}
@@ -33,7 +33,8 @@ export default async function (to) {
3333
let el = await findEl(to.hash)
3434
if ('scrollBehavior' in document.documentElement.style) {
3535
return window.scrollTo({ top: el.offsetTop, behavior: 'smooth' })
36-
} else {
36+
}
37+
else {
3738
return window.scrollTo(0, el.offsetTop)
3839
}
3940
}

babel.config.js

Lines changed: 0 additions & 6 deletions
This file was deleted.

components/ColorModeButton.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
<div
33
class="flex items-center m-0"
44
:class="isMobileDevice ? 'navbar-item' : ''"
5-
@click="switchToNextMode">
5+
@click="switchToNextMode"
6+
>
67
<ColorScheme placeholder="...">
78
<span>{{ currentMode.label }}</span>
89
&nbsp;<NeoIcon :icon="currentMode.icon" />
@@ -13,5 +14,6 @@
1314
<script lang="ts" setup>
1415
import { NeoIcon } from '@kodadot1/brick'
1516
import { isMobileDevice } from '@/utils/extension'
17+
1618
const { currentMode, switchToNextMode } = useTheme()
1719
</script>

0 commit comments

Comments
 (0)