Skip to content

Commit 12dd1b5

Browse files
authored
Merge pull request #227 from vim-jp/fix-format
chore: formatter/lintの設定
2 parents 137c612 + d12c3e8 commit 12dd1b5

34 files changed

+450
-846
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ jobs:
1919
version: 10.4.0
2020
- run: pnpm install --frozen-lockfile
2121
- run: pnpm check
22+
- run: pnpm lint
2223
- run: pnpm prettier:check

2025/.npmrc

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

2025/astro.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import react from '@astrojs/react';
2-
import tailwindcss from '@tailwindcss/vite';
32
import dsv from '@rollup/plugin-dsv';
3+
import tailwindcss from '@tailwindcss/vite';
44

55
// @ts-check
66
import { defineConfig } from 'astro/config';

2025/eslint.config.mjs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
import { ryoppippi } from '@ryoppippi/eslint-config';
1+
import { ryoppippi } from "@ryoppippi/eslint-config";
22

33
export default ryoppippi({
4-
type: 'app', // or 'lib'
5-
svelte: false,
6-
astro: true,
7-
typescript: {
8-
tsconfigPath: './tsconfig.json',
9-
},
4+
type: "app", // or 'lib'
5+
svelte: false,
6+
astro: true,
7+
stylistic: false,
8+
formatters: false,
9+
typescript: {
10+
tsconfigPath: "./tsconfig.json",
11+
},
1012
});

2025/package.json

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
{
2-
"name": "2025",
3-
"type": "module",
4-
"version": "0.0.1",
5-
"private": true,
6-
"packageManager": "pnpm@10.4.0",
7-
"scripts": {
8-
"dev": "astro dev",
9-
"build": "astro build",
10-
"preview": "astro preview",
11-
"astro": "astro",
12-
"check": "astro check",
13-
"lint": "eslint --cache .",
14-
"format": "nr prettier:fix",
15-
"prettier:check": "prettier --cache --check src",
16-
"prettier:fix": "prettier --cache --write src"
17-
},
18-
"dependencies": {
19-
"@astrojs/react": "^4.3.0",
20-
"@lucide/astro": "^0.513.0",
21-
"@tailwindcss/vite": "^4.1.12",
22-
"@types/react": "^19.1.11",
23-
"@types/react-dom": "^19.1.7",
24-
"astro": "^5.14.3",
25-
"astro-google-fonts-optimizer": "^0.2.2",
26-
"astro-seo": "^0.8.4",
27-
"react": "^19.1.1",
28-
"react-dom": "^19.1.1",
29-
"satori": "^0.15.2",
30-
"tailwindcss": "^4.1.12",
31-
"ufo": "^1.6.1"
32-
},
33-
"devDependencies": {
34-
"@antfu/ni": "^25.0.0",
35-
"@astrojs/ts-plugin": "^1.10.4",
36-
"@rollup/plugin-dsv": "^3.0.5",
37-
"@ryoppippi/eslint-config": "npm:@jsr/ryoppippi__eslint-config@^0.0.25",
38-
"eslint": "^9.34.0",
39-
"eslint-plugin-astro": "^1.3.1",
40-
"eslint-plugin-format": "^1.0.1",
41-
"prettier": "^3.6.2",
42-
"prettier-plugin-astro": "^0.14.1",
43-
"prettier-plugin-tailwindcss": "^0.6.14",
44-
"sharp": "^0.34.3",
45-
"tailwind-merge": "^3.3.1",
46-
"typescript": "^5.9.2",
47-
"unplugin-macros": "^0.17.2"
48-
},
49-
"pnpm": {
50-
"executionEnv": {
51-
"nodeVersion": "22.13.1"
52-
},
53-
"onlyBuiltDependencies": [
54-
"@tailwindcss/oxide",
55-
"esbuild",
56-
"sharp",
57-
"unrs-resolver"
58-
],
59-
"overrides": {
60-
"devalue": "^5.3.2"
61-
}
62-
}
2+
"name": "2025",
3+
"type": "module",
4+
"version": "0.0.1",
5+
"private": true,
6+
"packageManager": "pnpm@10.20.0",
7+
"scripts": {
8+
"dev": "astro dev",
9+
"build": "astro build",
10+
"preview": "astro preview",
11+
"astro": "astro",
12+
"check": "astro check",
13+
"lint": "eslint --cache .",
14+
"lint:fix": "nr lint --fix",
15+
"format": "nr lint:fix && nr prettier:fix",
16+
"prettier:check": "prettier --cache --check src",
17+
"prettier:fix": "prettier --cache --write src"
18+
},
19+
"dependencies": {
20+
"@astrojs/react": "^4.3.0",
21+
"@lucide/astro": "^0.513.0",
22+
"@tailwindcss/vite": "^4.1.12",
23+
"@types/react": "^19.1.11",
24+
"@types/react-dom": "^19.1.7",
25+
"astro": "^5.14.3",
26+
"astro-google-fonts-optimizer": "^0.2.2",
27+
"astro-seo": "^0.8.4",
28+
"react": "^19.1.1",
29+
"react-dom": "^19.1.1",
30+
"satori": "^0.15.2",
31+
"tailwindcss": "^4.1.12",
32+
"ufo": "^1.6.1"
33+
},
34+
"devDependencies": {
35+
"@antfu/ni": "^25.0.0",
36+
"@astrojs/ts-plugin": "^1.10.4",
37+
"@rollup/plugin-dsv": "^3.0.5",
38+
"@ryoppippi/eslint-config": "^0.4.0",
39+
"eslint": "^9.34.0",
40+
"eslint-plugin-astro": "^1.3.1",
41+
"prettier": "^3.6.2",
42+
"prettier-plugin-astro": "^0.14.1",
43+
"prettier-plugin-tailwindcss": "^0.6.14",
44+
"sharp": "^0.34.3",
45+
"tailwind-merge": "^3.3.1",
46+
"typescript": "^5.9.2",
47+
"unplugin-macros": "^0.17.2"
48+
},
49+
"pnpm": {
50+
"executionEnv": {
51+
"nodeVersion": "22.13.1"
52+
},
53+
"onlyBuiltDependencies": [
54+
"@tailwindcss/oxide",
55+
"esbuild",
56+
"sharp",
57+
"unrs-resolver"
58+
],
59+
"overrides": {
60+
"devalue": "^5.3.2"
61+
}
62+
}
6363
}

0 commit comments

Comments
 (0)