Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prettier v3.0 にアップデート #332

Merged
merged 5 commits into from
Jul 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
222 changes: 123 additions & 99 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@rollup/plugin-typescript": "^11.1.1",
"@w0s/eslint-config": "^2.0.0",
"@w0s/eslint-config": "^3.0.0",
"@w0s/markuplint-config": "^2.5.0",
"@w0s/stylelint-config": "^1.2.0",
"@w0s/tsconfig": "^1.0.1",
Expand All @@ -39,7 +39,7 @@
"postcss-import": "^15.1.0",
"postcss-media-minmax": "^5.0.0",
"postcss-nesting": "^11.2.2",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"rollup": "^3.23.0",
"stylelint": "^15.9.0",
"stylelint-order": "^6.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/node/src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ app.use(
res.setHeader('Content-Security-Policy-Report-Only', config.response.header.cspro_html);
}
},
})
}),
);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class ContactSendController extends Controller implements Control
httpResponse.send303(
requestQuery.referrer === null || requestQuery.referrer === ''
? this.#config.url.completed.pathname
: `${this.#config.url.completed.pathname}?${this.#config.url.completed.search['referrer']}=${encodeURIComponent(requestQuery.referrer)}`
: `${this.#config.url.completed.pathname}?${this.#config.url.completed.search['referrer']}=${encodeURIComponent(requestQuery.referrer)}`,
);
return;
}
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/node/src/controller/CrawlerNewsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class CrawlerNewsController extends Controller implements Control
requestQuery.browser,
requestQuery.selector_wrap,
requestQuery.selector_date,
requestQuery.selector_content
requestQuery.selector_content,
);
this.logger.info('データ登録', requestQuery.url);

Expand Down Expand Up @@ -107,7 +107,7 @@ export default class CrawlerNewsController extends Controller implements Control
requestQuery.browser,
requestQuery.selector_wrap,
requestQuery.selector_date,
requestQuery.selector_content
requestQuery.selector_content,
);
this.logger.info('データ更新', requestQuery.url);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class TokyuCarHistoryController extends Controller implements Con
requestQuery.series,
requestQuery.register_start,
requestQuery.register_end,
requestQuery.sort
requestQuery.sort,
);

searchCarsCount = carDataList.length;
Expand Down
4 changes: 2 additions & 2 deletions packages/backend/node/src/dao/CrawlerNewsDao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class CrawlerNewsDao extends CrawlerDao {
browser: boolean,
selectorWrap: string,
selectorDate: string | null,
selectorContent: string | null
selectorContent: string | null,
): Promise<void> {
const dbh = await this.getDbh();

Expand Down Expand Up @@ -149,7 +149,7 @@ export default class CrawlerNewsDao extends CrawlerDao {
browser: boolean,
selectorWrap: string,
selectorDate: string | null,
selectorContent: string | null
selectorContent: string | null,
): Promise<void> {
const dbh = await this.getDbh();

Expand Down
2 changes: 1 addition & 1 deletion packages/backend/node/src/dao/TokyuCarHistoryDao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export default class TokyuCarHistoryDao {
seriesList: string[] | null,
registerStart: string | null,
registerEnd: string | null,
sort: string | null
sort: string | null,
): Promise<Car[]> {
const dbh = await this.getDbh();

Expand Down
Loading