Skip to content

Commit c655115

Browse files
committed
remove prettier plugin, which is not needed anymore
1 parent 4776a2c commit c655115

File tree

4 files changed

+44
-48
lines changed

4 files changed

+44
-48
lines changed

.eslintrc.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
"plugin:@typescript-eslint/recommended",
66
"plugin:react/recommended",
77
"plugin:react-hooks/recommended",
8-
"plugin:react/jsx-runtime",
9-
"plugin:prettier/recommended"
8+
"plugin:react/jsx-runtime"
109
],
1110
"rules": {
1211
"react/no-deprecated": "warn",

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"eslint-config-prettier": "^9.1.0",
3939
"eslint-plugin-import": "^2.29.1",
4040
"eslint-plugin-jsx-a11y": "^6.8.0",
41-
"eslint-plugin-prettier": "^5.1.3",
4241
"eslint-plugin-react": "^7.33.2",
4342
"eslint-plugin-react-hooks": "^4.6.0",
4443
"lerna": "^8.0.2",
@@ -49,4 +48,4 @@
4948
"typescript": "^5.3.3"
5049
},
5150
"packageManager": "[email protected]+sha1.553376bb7b5de4b1cf2b5f3471f674b678c7e14d"
52-
}
51+
}

packages/playground/src/samples/made-by-aokiapp/cms.tsx

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable prettier/prettier */
21
import { Sample } from '../Sample';
32
import { Type } from '@sinclair/typebox';
43
import { NamedStringEnum } from './utils';
@@ -13,7 +12,7 @@ const schema = Type.Object(
1312
Type.String({
1413
title: 'サブタイトル',
1514
description: 'サブタイトルをつけると、より一層読み手を惹きつけることができます。',
16-
}),
15+
})
1716
),
1817
tags: Type.Array(
1918
Type.String({
@@ -23,7 +22,7 @@ const schema = Type.Object(
2322
uniqueItems: true,
2423
title: 'タグ',
2524
description: 'タグをつけると、検索しやすくなります。',
26-
},
25+
}
2726
),
2827
body: Type.String({
2928
title: '本文',
@@ -37,21 +36,21 @@ const schema = Type.Object(
3736
uniqueItems: true,
3837
title: '画像',
3938
description: '本文中に挿入する画像を選択してください。画像は最大10枚まで挿入できます。',
40-
},
39+
}
4140
),
4241
thumbnail: Type.Optional(
4342
Type.String({
4443
title: 'サムネイル',
4544
description: '設定しない場合は、本文中の最初の画像がサムネイルになります。',
4645
format: 'data-url',
47-
}),
46+
})
4847
),
4948
publishedAt: Type.Optional(
5049
Type.String({
5150
title: '公開日時',
5251
description: '設定しない場合は、すぐに公開されます。',
5352
format: 'date-time',
54-
}),
53+
})
5554
),
5655
scope: NamedStringEnum(
5756
{
@@ -63,19 +62,19 @@ const schema = Type.Object(
6362
{
6463
title: '公開範囲',
6564
description: '公開範囲を設定します。',
66-
},
65+
}
6766
),
6867
price: Type.Optional(
6968
Type.Number({
7069
title: '価格',
7170
description: '価格を設定します。',
7271
minimum: 0,
73-
}),
72+
})
7473
),
7574
},
7675
{
7776
title: '',
78-
},
77+
}
7978
);
8079

8180
const uiSchema = {

packages/playground/src/samples/made-by-aokiapp/hsema.tsx

+34-35
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable prettier/prettier */
21
import { Sample } from '../Sample';
32
import { Type } from '@sinclair/typebox';
43
import { NamedNumberEnum, NamedStringEnum, ObjectIfThenElse } from './utils';
@@ -29,7 +28,7 @@ const userIdentInfo = Type.Object(
2928
},
3029
{
3130
title: '性別',
32-
},
31+
}
3332
),
3433
birthDate: Type.String({
3534
title: '生年月日',
@@ -50,7 +49,7 @@ const userIdentInfo = Type.Object(
5049
{
5150
title: '',
5251
$id: '#/definitions/userIdentInfo',
53-
},
52+
}
5453
);
5554

5655
const definitions = {
@@ -67,7 +66,7 @@ const subjectEnum = NamedStringEnum(
6766
},
6867
{
6968
title: '受験科目',
70-
},
69+
}
7170
);
7271
const schema = Type.Object(
7372
{
@@ -95,7 +94,7 @@ const schema = Type.Object(
9594
{
9695
title: '管理情報',
9796
description: '出願に対する管理上の事項です。',
98-
},
97+
}
9998
),
10099
acceptanceInfo: Type.Object(
101100
{
@@ -116,13 +115,13 @@ const schema = Type.Object(
116115
{
117116
title: '申請状況',
118117
description: '申請の状況を選択してください。',
119-
},
118+
}
120119
),
121120
},
122121
{
123122
title: '受付情報',
124123
description: '受付に関する情報です。',
125-
},
124+
}
126125
),
127126
examinee: Type.Object(
128127
{
@@ -140,7 +139,7 @@ const schema = Type.Object(
140139
readOnly: true,
141140
}),
142141
},
143-
{ title: '受験者情報', description: '試験を受ける本人の情報を入力してください' },
142+
{ title: '受験者情報', description: '試験を受ける本人の情報を入力してください' }
144143
),
145144
applicant: ObjectIfThenElse(
146145
Type.Object({
@@ -151,7 +150,7 @@ const schema = Type.Object(
151150
},
152151
{
153152
title: '申請者の有無',
154-
},
153+
}
155154
),
156155
}),
157156
Type.Object({
@@ -163,7 +162,7 @@ const schema = Type.Object(
163162
{
164163
title: '申請者情報',
165164
description: '本申請書を提出し、連絡や書類の返送を受けるための連絡先を入力してください',
166-
},
165+
}
167166
),
168167

169168
guardian: ObjectIfThenElse(
@@ -174,7 +173,7 @@ const schema = Type.Object(
174173
sameAsApplicant: '申請者と同じ',
175174
other: '申請者と異なる',
176175
},
177-
{ title: '保護者の有無' },
176+
{ title: '保護者の有無' }
178177
),
179178
}),
180179
Type.Object({
@@ -186,7 +185,7 @@ const schema = Type.Object(
186185
{
187186
title: '保護者情報',
188187
description: '保護者または成年後見人の情報を入力してください',
189-
},
188+
}
190189
),
191190

192191
applicationInfo: Type.Object(
@@ -205,7 +204,7 @@ const schema = Type.Object(
205204
subdepartment: Type.Optional(
206205
Type.String({
207206
title: '学科/専攻等名',
208-
}),
207+
})
209208
),
210209
departmentCode: Type.String({
211210
title: '学科/専攻等コード',
@@ -221,7 +220,7 @@ const schema = Type.Object(
221220
{
222221
title: '入学種別',
223222
examples: [0],
224-
},
223+
}
225224
),
226225
enterAt: Type.String({
227226
title: '入学年月',
@@ -235,7 +234,7 @@ const schema = Type.Object(
235234
{
236235
title: '出願情報',
237236
description: '申請書に記載される出願に関する情報を入力してください。',
238-
},
237+
}
239238
),
240239
examinationInfo: Type.Object(
241240
{
@@ -262,21 +261,21 @@ const schema = Type.Object(
262261
title: '受験科目と問題番号',
263262
description: '受験する科目と問題番号を入力してください。',
264263
uniqueItems: true,
265-
},
264+
}
266265
),
267266
},
268267
{
269268
title: '試験情報',
270269
description: '当日の試験に関する情報を入力してください。',
271-
},
270+
}
272271
),
273272
handicap: Type.Object(
274273
{
275274
isMild: Type.Optional(
276275
Type.Boolean({
277276
title: '軽症者特例',
278277
description: '軽症者特例を適用しますか?',
279-
}),
278+
})
280279
),
281280
vision: Type.Optional(
282281
NamedStringEnum(
@@ -290,8 +289,8 @@ const schema = Type.Object(
290289
},
291290
{
292291
title: '視覚',
293-
},
294-
),
292+
}
293+
)
295294
),
296295
hearing: Type.Optional(
297296
NamedStringEnum(
@@ -301,8 +300,8 @@ const schema = Type.Object(
301300
},
302301
{
303302
title: '聴覚',
304-
},
305-
),
303+
}
304+
)
306305
),
307306
physical: Type.Optional(
308307
NamedStringEnum(
@@ -315,8 +314,8 @@ const schema = Type.Object(
315314
},
316315
{
317316
title: '肢体不自由',
318-
},
319-
),
317+
}
318+
)
320319
),
321320
developmental: Type.Optional(
322321
NamedStringEnum(
@@ -325,8 +324,8 @@ const schema = Type.Object(
325324
},
326325
{
327326
title: '発達障害',
328-
},
329-
),
327+
}
328+
)
330329
),
331330
needPreExamHelp: Type.Boolean({
332331
title: '試験前の配慮',
@@ -337,19 +336,19 @@ const schema = Type.Object(
337336
Type.String({
338337
title: '障害の特徴に関する自由記述欄',
339338
description: '障害について記入してください。',
340-
}),
339+
})
341340
),
342341
helps: Type.Optional(
343342
Type.String({
344343
title: '配慮内容に関する自由記述欄',
345344
description: '配慮内容について記入してください。',
346-
}),
345+
})
347346
),
348347
},
349348
{
350349
title: '配慮の有無',
351350
description: '受験上の配慮についての情報を入力してください。',
352-
},
351+
}
353352
),
354353
fee: Type.Object(
355354
{
@@ -374,13 +373,13 @@ const schema = Type.Object(
374373
{
375374
uniqueItems: true,
376375
title: '特例',
377-
},
376+
}
378377
),
379378
},
380379
{
381380
title: '受験料等',
382381
description: '受験料等に関する情報を入力してください。',
383-
},
382+
}
384383
),
385384
delay: ObjectIfThenElse(
386385
Type.Object({
@@ -406,7 +405,7 @@ const schema = Type.Object(
406405
}),
407406
{
408407
title: '遅延出願',
409-
},
408+
}
410409
),
411410
memo: Type.Object(
412411
{
@@ -422,18 +421,18 @@ const schema = Type.Object(
422421
{
423422
title: 'メモアイテム',
424423
description: 'メモのアイテムです。',
425-
},
424+
}
426425
),
427426
},
428427
{
429428
title: 'メモ・申し送り',
430429
description: '操作者別のメモや申し送りです。',
431-
},
430+
}
432431
),
433432
},
434433
{
435434
definitions,
436-
},
435+
}
437436
);
438437

439438
function UserIdentInfoField(props: FieldProps) {

0 commit comments

Comments
 (0)