-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from vim-jp/lint
add lint
- Loading branch information
Showing
20 changed files
with
2,364 additions
and
220 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: lint | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
lint-2025: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
working-directory: ./2025 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
run_install: false | ||
version: 10.4.0 | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm check | ||
- run: pnpm lint |
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 |
---|---|---|
|
@@ -22,3 +22,5 @@ pnpm-debug.log* | |
|
||
# jetbrains setting folder | ||
.idea/ | ||
|
||
.eslintcache |
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 @@ | ||
@jsr:registry=https://npm.jsr.io |
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,32 +1,32 @@ | ||
import react from '@astrojs/react'; | ||
// @ts-check | ||
import { defineConfig } from 'astro/config'; | ||
import Macros from 'unplugin-macros/vite' | ||
|
||
import react from '@astrojs/react'; | ||
import Macros from 'unplugin-macros/vite'; | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
base: '/2025', | ||
base: '/2025', | ||
|
||
experimental: { | ||
serializeConfig: true, | ||
}, | ||
experimental: { | ||
serializeConfig: true, | ||
}, | ||
|
||
redirects: { | ||
'/': '/2025/ja', | ||
'/2025': '/2025/ja', | ||
}, | ||
redirects: { | ||
'/': '/2025/ja', | ||
'/2025': '/2025/ja', | ||
}, | ||
|
||
vite:{ | ||
optimizeDeps: { | ||
exclude: [ | ||
'@resvg/resvg-js' | ||
] | ||
}, | ||
plugins: [ | ||
Macros() | ||
] | ||
}, | ||
vite: { | ||
optimizeDeps: { | ||
exclude: [ | ||
'@resvg/resvg-js', | ||
], | ||
}, | ||
plugins: [ | ||
Macros(), | ||
], | ||
}, | ||
|
||
integrations: [react()] | ||
}); | ||
integrations: [react()], | ||
}); |
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,10 @@ | ||
import { ryoppippi } from '@ryoppippi/eslint-config'; | ||
|
||
export default ryoppippi({ | ||
type: 'app', // or 'lib' | ||
svelte: false, | ||
astro: true, | ||
typescript: { | ||
tsconfigPath: './tsconfig.json', | ||
}, | ||
}); |
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,40 +1,48 @@ | ||
{ | ||
"name": "2025", | ||
"private": true, | ||
"type": "module", | ||
"version": "0.0.1", | ||
"scripts": { | ||
"dev": "astro dev", | ||
"build": "astro build", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
}, | ||
"dependencies": { | ||
"@astrojs/react": "^4.2.0", | ||
"@types/react": "^19.0.8", | ||
"@types/react-dom": "^19.0.3", | ||
"astro": "^5.3.0", | ||
"astro-google-fonts-optimizer": "^0.2.2", | ||
"astro-seo": "^0.8.4", | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"satori": "^0.12.1", | ||
"ufo": "^1.5.4" | ||
}, | ||
"devDependencies": { | ||
"@astrojs/ts-plugin": "^1.10.4", | ||
"sharp": "^0.33.5", | ||
"typescript": "^5.7.3", | ||
"unplugin-macros": "^0.16.0" | ||
}, | ||
"pnpm": { | ||
"executionEnv": { | ||
"nodeVersion": "22.13.1" | ||
}, | ||
"onlyBuiltDependencies": [ | ||
"esbuild", | ||
"sharp" | ||
] | ||
}, | ||
"packageManager": "pnpm@10.4.0" | ||
"name": "2025", | ||
"type": "module", | ||
"version": "0.0.1", | ||
"private": true, | ||
"packageManager": "pnpm@10.4.0", | ||
"scripts": { | ||
"dev": "astro dev", | ||
"build": "astro build", | ||
"preview": "astro preview", | ||
"astro": "astro", | ||
"check": "astro check", | ||
"lint": "eslint --cache .", | ||
"format": "nr lint --fix" | ||
}, | ||
"dependencies": { | ||
"@astrojs/react": "^4.2.0", | ||
"@types/react": "^19.0.8", | ||
"@types/react-dom": "^19.0.3", | ||
"astro": "^5.3.0", | ||
"astro-google-fonts-optimizer": "^0.2.2", | ||
"astro-seo": "^0.8.4", | ||
"react": "^19.0.0", | ||
"react-dom": "^19.0.0", | ||
"satori": "^0.12.1", | ||
"ufo": "^1.5.4" | ||
}, | ||
"devDependencies": { | ||
"@antfu/ni": "^23.3.1", | ||
"@astrojs/ts-plugin": "^1.10.4", | ||
"@ryoppippi/eslint-config": "npm:@jsr/ryoppippi__eslint-config@^0.0.25", | ||
"eslint": "^9.20.1", | ||
"eslint-plugin-astro": "^1.3.1", | ||
"eslint-plugin-format": "^1.0.1", | ||
"sharp": "^0.33.5", | ||
"typescript": "^5.7.3", | ||
"unplugin-macros": "^0.16.0" | ||
}, | ||
"pnpm": { | ||
"executionEnv": { | ||
"nodeVersion": "22.13.1" | ||
}, | ||
"onlyBuiltDependencies": [ | ||
"esbuild", | ||
"sharp" | ||
] | ||
} | ||
} |
Oops, something went wrong.