Skip to content

Commit 15b0ed9

Browse files
committed
Format all files
1 parent e59cc72 commit 15b0ed9

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

codemods/transforms/convertInputSelectorsToArray/README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ node ./bin/cli.mjs convertInputSelectorsToArray path/of/files/ or/some**/*glob.j
3434

3535
<a id="separate-inline-arguments.ts">**separate-inline-arguments.ts**</a>
3636

37-
**Input** (<small>[separate-inline-arguments.input.ts](transforms\convertInputSelectorsToArray\__testfixtures__\separate-inline-arguments.input.ts)</small>):
37+
**Input** (<small>[separate-inline-arguments.input.ts](transforms\convertInputSelectorsToArray__testfixtures__\separate-inline-arguments.input.ts)</small>):
3838

3939
```ts
4040
import { createSelector } from 'reselect'
@@ -47,11 +47,11 @@ export interface RootState {
4747
const selectTodoById = createSelector(
4848
(state: RootState) => state.todos,
4949
(state: RootState, id: number) => id,
50-
(todos, id) => todos.find(todo => todo.id === id)
50+
(todos, id) => todos.find(todo => todo.id === id),
5151
)
5252
```
5353

54-
**Output** (<small>[separate-inline-arguments.output.ts](transforms\convertInputSelectorsToArray\__testfixtures__\separate-inline-arguments.output.ts)</small>):
54+
**Output** (<small>[separate-inline-arguments.output.ts](transforms\convertInputSelectorsToArray__testfixtures__\separate-inline-arguments.output.ts)</small>):
5555

5656
```ts
5757
import { createSelector } from 'reselect'
@@ -63,7 +63,8 @@ export interface RootState {
6363

6464
const selectTodoById = createSelector(
6565
[(state: RootState) => state.todos, (state: RootState, id: number) => id],
66-
(todos, id) => todos.find(todo => todo.id === id)
66+
(todos, id) => todos.find(todo => todo.id === id),
6767
)
6868
```
69-
<!--FIXTURES_CONTENT_END-->
69+
70+
<!--FIXTURES_CONTENT_END-->

codemods/vitest.config.mts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ import { defineConfig } from 'vitest/config'
22

33
export default defineConfig({
44
test: {
5-
globals: true
6-
}
5+
globals: true,
6+
},
77
})

0 commit comments

Comments
 (0)