Skip to content

Commit

Permalink
Fix the migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
daniilsapa committed Sep 3, 2024
1 parent c90b991 commit f7ed06b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions MIGRATION_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default defineConfig({
rules: {
'public-api': 'off',
'ambiguous-slice-names': 'off',
'nonexisting-rule': 'off',
'no-processes': 'off',
},
})
```
Expand All @@ -59,7 +59,7 @@ export default defineConfig([
rules: {
'fsd/public-api': 'off',
'fsd/ambiguous-slice-names': 'off',
'nonexisting-rule': 'off',
'fsd/no-processes': 'off',
},
},
])
Expand All @@ -72,17 +72,17 @@ export default defineConfig([
**pnpm**:

```shell
pnpx jscodeshift -t https://raw.githubusercontent.com/feature-sliced/steiger/codemod/packages/steiger/migrations/convert-config-to-flat.js steiger.config.js
pnpx jscodeshift -t https://raw.githubusercontent.com/feature-sliced/steiger/master/packages/steiger/migrations/convert-config-to-flat.js steiger.config.js
```

**yarn**:

```shell
yarn dlx jscodeshift -t https://raw.githubusercontent.com/feature-sliced/steiger/codemod/packages/steiger/migrations/convert-config-to-flat.js steiger.config.js
yarn dlx jscodeshift -t https://raw.githubusercontent.com/feature-sliced/steiger/master/packages/steiger/migrations/convert-config-to-flat.js steiger.config.js
```

**npm**:

```shell
npx jscodeshift -t https://raw.githubusercontent.com/feature-sliced/steiger/codemod/packages/steiger/migrations/convert-config-to-flat.js steiger.config.js
npx jscodeshift -t https://raw.githubusercontent.com/feature-sliced/steiger/master/packages/steiger/migrations/convert-config-to-flat.js steiger.config.js
```

0 comments on commit f7ed06b

Please sign in to comment.