Skip to content

Commit

Permalink
fix: set max versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Zakharov committed Jul 13, 2023
1 parent 1d204f3 commit 4019ad5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,10 @@ Go to [`release/latest`](https://github.com/eslint-kit/eslint-kit-cli/tree/relea
```sh
$ npx eslint-kit-cli@latest
```

Or if you want to use version v9 of `eslint-kit`:

```sh
$ npx eslint-kit-cli@^9
```

6 changes: 3 additions & 3 deletions src/modules/commands/init.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export class InitCommand implements CommandRunner {
}

const dependenciesToInstall: ProjectDependency[] = [
{ name: 'eslint-kit' },
{ name: 'eslint' },
{ name: 'prettier' },
{ name: 'eslint-kit@^9' },
{ name: 'eslint@^8.41.0' },
{ name: 'prettier@^2' },
]

console.info()
Expand Down

0 comments on commit 4019ad5

Please sign in to comment.