Skip to content

Commit b9c1388

Browse files
authored
chore: update package dependencies and node engine version. Drop eslint (#290)
1 parent ee03bef commit b9c1388

File tree

7 files changed

+610
-5079
lines changed

7 files changed

+610
-5079
lines changed

.eslintignore

Lines changed: 0 additions & 5 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ updates:
55
schedule:
66
# Our dependencies should be checked daily
77
interval: daily
8-
assignees:
9-
- davidmytton
10-
reviewers:
11-
- davidmytton
128
commit-message:
139
prefix: deps
1410
prefix-development: deps(dev)
@@ -26,5 +22,6 @@ updates:
2622
- arcjet
2723
- "@arcjet/*"
2824
ignore:
29-
- dependency-name: eslint
30-
versions: [">=9"]
25+
# Synced with engines field in package.json
26+
- dependency-name: "@types/node"
27+
versions: [">=21"]

.trunk/configs/svgo.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
export default {
2+
plugins: [
3+
{
4+
name: "preset-default",
5+
params: {
6+
overrides: {
7+
removeViewBox: false, // https://github.com/svg/svgo/issues/1128
8+
sortAttrs: true,
9+
removeOffCanvasPaths: true,
10+
},
11+
},
12+
},
13+
],
14+
};

.trunk/trunk.yaml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,36 @@
22
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
33
version: 0.1
44
cli:
5-
version: 1.22.10
5+
version: 1.22.15
66
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
77
plugins:
88
sources:
99
- id: trunk
10-
ref: v1.6.7
10+
ref: v1.6.8
1111
uri: https://github.com/trunk-io/plugins
1212
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
1313
runtimes:
1414
enabled:
15+
# Synced with engines field in package.json
16+
- node@>=20.0.0
1517
1618
definitions:
1719
- type: node
1820
system_version: allowed
1921
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
2022
lint:
2123
enabled:
22-
23-
24+
25+
26+
27+
2428
- git-diff-check
25-
- markdownlint@0.44.0
26-
- osv-scanner@1.9.2
27-
- prettier@3.4.2
28-
- trivy@0.59.1
29-
30-
- yamllint@1.35.1
29+
- markdownlint@0.45.0
30+
- osv-scanner@2.0.2
31+
- prettier@3.5.3
32+
- trivy@0.62.1
33+
34+
- yamllint@1.37.1
3135
actions:
3236
enabled:
3337
- trunk-announce

0 commit comments

Comments
 (0)