Skip to content

Commit

Permalink
Merge branch 'main' into renovate-major-npm-dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
72636c authored Jan 19, 2025
2 parents 629cd01 + d0443bd commit 8bd34fe
Show file tree
Hide file tree
Showing 15 changed files with 25 additions and 24 deletions.
10 changes: 10 additions & 0 deletions .changeset/wet-owls-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
'eslint-config-skuba': minor
---

Revert to modern JavaScript language option defaults

- `ecmaVersion: 5 => latest`
- `sourceType: script => module`

See [JavaScript language options](https://eslint.org/docs/latest/use/configure/language-options#specifying-javascript-options) for more information.
2 changes: 1 addition & 1 deletion docs/deep-dives/pnpm.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ This migration guide assumes that your project was scaffolded with a **skuba** t
2. Add a `packageManager` key to `package.json`

```json
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
```

3. Install pnpm
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"optional": true
}
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"engines": {
"node": ">=18.18.0"
},
Expand Down
9 changes: 0 additions & 9 deletions packages/eslint-config-skuba/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,6 @@ module.exports = [
name: 'skuba/typescript',
files: [`**/*.{${tsExtensions}}`],

languageOptions: {
ecmaVersion: 5,
sourceType: 'script',

parserOptions: {
projectService: true,
},
},

rules: {
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/no-floating-promises': 'error',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-skuba/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"eslint": ">=9.11.1",
"typescript": ">=5.5.4"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"engines": {
"node": ">=18.18.0"
},
Expand Down
2 changes: 1 addition & 1 deletion template/express-rest-api/.buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ steps:
- *aws-sm
- *private-npm
- *docker-ecr-cache
- docker-compose#v5.5.0:
- docker-compose#v5.6.0:
run: app
environment:
- GITHUB_API_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion template/express-rest-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"skuba": "*",
"supertest": "^7.0.0"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"engines": {
"node": ">=20"
}
Expand Down
2 changes: 1 addition & 1 deletion template/greeter/.buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ steps:
- *aws-sm
- *private-npm
- *docker-ecr-cache
- docker-compose#v5.5.0:
- docker-compose#v5.6.0:
run: app
environment:
- GITHUB_API_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion template/greeter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@types/node": "^20.9.0",
"skuba": "*"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"engines": {
"node": ">=20"
}
Expand Down
2 changes: 1 addition & 1 deletion template/koa-rest-api/.buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ steps:
- *aws-sm
- *private-npm
- *docker-ecr-cache
- docker-compose#v5.5.0:
- docker-compose#v5.6.0:
run: app
environment:
- GITHUB_API_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion template/koa-rest-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"skuba": "*",
"supertest": "^7.0.0"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"engines": {
"node": ">=20"
}
Expand Down
4 changes: 2 additions & 2 deletions template/lambda-sqs-worker-cdk/.buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ configs:
- *aws-sm
- *private-npm
- *docker-ecr-cache
- docker-compose#v5.5.0:
- docker-compose#v5.6.0:
dependencies: false
run: app
environment:
Expand Down Expand Up @@ -63,7 +63,7 @@ steps:
- *aws-sm
- *private-npm
- *docker-ecr-cache
- docker-compose#v5.5.0:
- docker-compose#v5.6.0:
run: app
environment:
- GITHUB_API_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion template/lambda-sqs-worker-cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"pino-pretty": "^13.0.0",
"skuba": "*"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"engines": {
"node": ">=20"
}
Expand Down
4 changes: 2 additions & 2 deletions template/lambda-sqs-worker/.buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ configs:
- *aws-sm
- *private-npm
- *docker-ecr-cache
- docker-compose#v5.5.0:
- docker-compose#v5.6.0:
dependencies: false
run: app
propagate-environment: true
Expand Down Expand Up @@ -67,7 +67,7 @@ steps:
- *aws-sm
- *private-npm
- *docker-ecr-cache
- docker-compose#v5.5.0:
- docker-compose#v5.6.0:
run: app
environment:
- GITHUB_API_TOKEN
Expand Down
2 changes: 1 addition & 1 deletion template/lambda-sqs-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"serverless-prune-plugin": "^2.0.0",
"skuba": "*"
},
"packageManager": "[email protected].3",
"packageManager": "[email protected].4",
"engines": {
"node": ">=20"
}
Expand Down

0 comments on commit 8bd34fe

Please sign in to comment.