Skip to content

Commit

Permalink
Merge pull request #18 from eslint-kit/fix/set-max-versions
Browse files Browse the repository at this point in the history
[Fix] Set max versions
  • Loading branch information
Evgeny Zakharov authored Jul 13, 2023
2 parents 063b4db + 4019ad5 commit 985e517
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 985e517

Please sign in to comment.