Skip to content

Commit

Permalink
feat: support ESLint v8
Browse files Browse the repository at this point in the history
  • Loading branch information
theoludwig committed Feb 1, 2022
1 parent 65cd7a0 commit 2481f89
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,33 +54,33 @@
],
"dependencies": {
"@typescript-eslint/parser": "^5.0.0",
"eslint-config-standard": "^16.0.0"
"eslint-config-standard": "^17.0.0-1"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^4.0.1 || ^5.0.0",
"eslint": "^7.12.1",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"eslint": "^8.8.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1 || ^5.0.0",
"eslint-plugin-n": "^14.0.0",
"eslint-plugin-promise": "^6.0.0",
"typescript": "*"
},
"devDependencies": {
"@arkweid/lefthook": "0.7.7",
"@commitlint/cli": "13.2.1",
"@commitlint/config-conventional": "14.1.0",
"@commitlint/travis-cli": "13.2.1",
"@types/eslint": "7.29.0",
"@types/eslint": "8.4.1",
"@types/js-yaml": "4.0.5",
"@types/node": "16.11.5",
"@types/npm-package-arg": "6.1.1",
"@types/semver": "7.3.9",
"@typescript-eslint/eslint-plugin": "5.10.1",
"@typescript-eslint/eslint-plugin": "5.10.2",
"ava": "4.0.1",
"editorconfig-checker": "4.0.2",
"eslint": "7.32.0",
"eslint": "8.8.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "5.2.0",
"eslint-plugin-n": "14.0.0",
"eslint-plugin-promise": "6.0.0",
"fs.promises": "0.1.2",
"inclusion": "1.0.1",
"js-yaml": "4.1.0",
Expand All @@ -91,7 +91,7 @@
"semver": "7.3.5",
"standard-version": "9.3.2",
"tsconfigs": "5.0.0",
"typescript": "4.4.4"
"typescript": "4.5.5"
},
"files": [
"lib/index.js",
Expand Down
14 changes: 7 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ so if that's what you're using, install them manually.
Here is an example, but use it only for reference,
because your decisions regarding version ranges and range specifiers may vary.

```
```sh
npm install --save-dev \
typescript@\* \
eslint@^7.12.1 \
eslint-plugin-promise@^5.0.0 \
eslint@^8.8.0 \
eslint-plugin-promise@^6.0.0 \
eslint-plugin-import@^2.22.1 \
eslint-plugin-node@^11.1.0 \
@typescript-eslint/eslint-plugin@^4.0.1 \
eslint-plugin-n@^14.0.0 \
@typescript-eslint/eslint-plugin@^5.0.0 \
eslint-config-standard-with-typescript@latest
```

Expand Down Expand Up @@ -53,12 +53,12 @@ If you're using ESLint v6 make sure you read about [the `--ext` command line opt

Example command line usage for ESLint v6:

```
```sh
$ npx eslint --ext .js,.ts .
```

Example command line usage for ESLint v7:

```
```sh
$ npx eslint .
```

0 comments on commit 2481f89

Please sign in to comment.