Skip to content
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"vitest": "3.2.4"
},
"resolutions": {
"eslint": "9.37.0"
"eslint": "9.38.0"
}
}
4 changes: 2 additions & 2 deletions packages/eslint-config/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const js = () =>
},
] satisfies Linter.Config[];

export const typescript = () =>
export const typescript = (): Linter.Config[] =>
[
{
plugins: {
Expand Down Expand Up @@ -183,7 +183,7 @@ export const nextJs = () => {

export const storybook = () => [...pluginStorybook.configs["flat/recommended"]];

export const imports = () =>
export const imports = (): Linter.Config[] =>
[
pluginImport.flatConfigs.recommended,
{
Expand Down
8 changes: 4 additions & 4 deletions packages/eslint-config/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default {
*
* 内容: files + js + typescript
*/
get vanillaTs() {
get vanillaTs(): Linter.Config[] {
return [
...files(),
...js(),
Expand All @@ -33,7 +33,7 @@ export default {
*
* 内容: files + js + typescript + react + storybook + imports
*/
get recommended() {
get recommended(): Linter.Config[] {
return [
...files(),
...js(),
Expand All @@ -47,7 +47,7 @@ export default {
/**
* 内容: js + typescript + react
*/
get react() {
get react(): Linter.Config[] {
return [
...js(), //
...typescript(),
Expand All @@ -61,7 +61,7 @@ export default {
* NOTE:
* 1. 中身はeslint-config-nextではなく @next/eslint-plugin-next
*/
get nextJs() {
get nextJs(): Linter.Config[] {
return [
...js(),
...typescript(),
Expand Down
Loading