Skip to content

Commit 9d4a672

Browse files
committed
update eslint dependencies
1 parent 734b277 commit 9d4a672

File tree

3 files changed

+963
-420
lines changed

3 files changed

+963
-420
lines changed

README.md

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ESLint config used by Squonk front-end apps
55

66
This assumes you are using `pnpm`.
77

8-
1. Install package + peer dependencies:
8+
1. Install package:
99

1010
```sh
1111
pnpm add -D eslint @squonk/eslint-config
@@ -14,12 +14,15 @@ pnpm add -D eslint @squonk/eslint-config
1414
2. Create (or modify) a `.eslintrc.js` (or `.eslintrc.cjs` if your `package.json` is to `"type": "module"`) file with the following:
1515

1616
```js
17+
/**
18+
* @type {import("eslint").Linter.Config}
19+
*/
1720
module.exports = {
1821
parserOptions: {
19-
project: 'tsconfig.json',
22+
project: "tsconfig.json",
2023
tsconfigRootDir: __dirname,
2124
},
22-
extends: ['@squonk/eslint-config'],
25+
extends: ["@squonk/eslint-config"],
2326
};
2427
```
2528

@@ -28,23 +31,12 @@ module.exports = {
2831
```json
2932
"include": [
3033
...,
31-
"**/.*.js", // Possibly not needed if you have `"type": "module"`
32-
"**/.*.cjs", // Required if using `"type": "module"`
33-
// etc.
3434
]
3535
```
3636

3737
## Development
3838

39-
### Release a new version
39+
Releasing a new version:
4040

41-
Use `standard-version` via
42-
43-
```sh
44-
pnpm dlx standard-version -t "''"
45-
git push --follow-tags origin main
46-
47-
pnpm publish
48-
```
49-
50-
<!-- TODO: Add: ### Examples -->
41+
1. Merge the PR created by `release-please`
42+
2. From the repo run `pnpm publish`

package.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@squonk/eslint-config",
3-
"version": "0.5.0",
3+
"version": "0.6.0",
44
"description": "ESLint config used by Squonk front-end apps",
55
"main": "index.js",
66
"repository": {
@@ -24,20 +24,21 @@
2424
"typescript": ">=4.7"
2525
},
2626
"dependencies": {
27-
"@types/node": "^16.11.12",
28-
"@typescript-eslint/eslint-plugin": "^5.6.0",
29-
"@typescript-eslint/parser": "^5.6.0",
30-
"eslint": "^8.31.0",
31-
"eslint-config-prettier": "^8.6.0",
32-
"eslint-plugin-import": "^2.26.0",
33-
"eslint-plugin-prettier": "^4.2.1",
34-
"eslint-plugin-react": "^7.31.11",
35-
"eslint-plugin-react-hooks": "^4.6.0",
36-
"eslint-plugin-simple-import-sort": "^8.0.0",
37-
"eslint-plugin-unused-imports": "^2.0.0",
38-
"prettier": "^2.8.1",
39-
"typescript": "^4.9.4",
40-
"@rushstack/eslint-patch": "^1.2.0"
27+
"@next/eslint-plugin-next": "13.4",
28+
"@types/node": "18.18.0",
29+
"@typescript-eslint/eslint-plugin": "6.7.4",
30+
"@typescript-eslint/parser": "6.7.4",
31+
"@rushstack/eslint-patch": "1.5.1",
32+
"eslint": "8.50.0",
33+
"eslint-config-prettier": "9.0.0",
34+
"eslint-plugin-import": "2.28.1",
35+
"eslint-plugin-prettier": "5.0.0",
36+
"eslint-plugin-react": "7.33.2",
37+
"eslint-plugin-react-hooks": "4.6.0",
38+
"eslint-plugin-simple-import-sort": "10.0.0",
39+
"eslint-plugin-unused-imports": "3.0.0",
40+
"prettier": "3.0.3",
41+
"typescript": "5.2.2"
4142
},
4243
"eslintConfig": {
4344
"extends": [

0 commit comments

Comments
 (0)