Skip to content

Commit 07cb94a

Browse files
committed
Upgrade linting tooling to latest version
Signed-off-by: Jon Koops <[email protected]>
1 parent ff2c4b2 commit 07cb94a

19 files changed

+1154
-4537
lines changed

.eslintrc.json

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

.github/actions/npm-publish/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ inputs:
1010
require-build:
1111
default: true
1212
release-directory:
13-
default: './'
13+
default: "./"
1414

1515
runs:
1616
using: composite
@@ -23,8 +23,8 @@ runs:
2323
uses: actions/setup-node@v4
2424
with:
2525
node-version: ${{ inputs.node-version }}
26-
cache: 'npm'
27-
registry-url: 'https://registry.npmjs.org'
26+
cache: "npm"
27+
registry-url: "https://registry.npmjs.org"
2828

2929
- name: Install dependencies
3030
shell: bash

.github/actions/tag-exists/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ inputs:
1414

1515
outputs:
1616
exists:
17-
description: 'Whether the tag exists or not'
17+
description: "Whether the tag exists or not"
1818
value: ${{ steps.tag-exists.outputs.EXISTS }}
1919

2020
runs:

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ staleLabel: closed:stale
1717

1818
# Comment to post when marking as stale. Set to `false` to disable
1919
markComment: >
20-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️
20+
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️

.github/workflows/build.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Build and Test
33
on:
44
workflow_dispatch:
55
push:
6-
branches: [ main, beta ]
6+
branches: [main, beta]
77
pull_request:
8-
branches: [ main, beta ]
8+
branches: [main, beta]
99

1010
permissions:
1111
contents: read
@@ -15,11 +15,10 @@ concurrency:
1515
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
1616

1717
jobs:
18-
1918
build:
2019
strategy:
2120
matrix:
22-
node: [ 18, 20 ]
21+
node: [18, 20]
2322

2423
name: Build Package (Node ${{ matrix.node }})
2524
runs-on: ubuntu-latest
@@ -35,15 +34,15 @@ jobs:
3534

3635
- name: Install dependencies
3736
run: npm ci
38-
37+
3938
- name: Build package
4039
run: npm run build
41-
40+
4241
- name: Lint
43-
run: npm run lint && npm run lint:package
44-
42+
run: npm run lint && npm run lint:package && npm run format:check
43+
4544
- name: Run tests against browser
4645
run: npm run test:browser
47-
46+
4847
- name: Run tests against Node
4948
run: npm run test:node

.github/workflows/npm-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
default: true
1111
type: string
1212
release-directory:
13-
default: './'
13+
default: "./"
1414
type: string
1515
secrets:
1616
github-token:
@@ -77,4 +77,4 @@ jobs:
7777
body: ${{ steps.get_release_notes.outputs.release-notes }}
7878
tag: ${{ steps.get_version.outputs.version }}
7979
commit: ${{ github.sha }}
80-
prerelease: ${{ steps.get_prerelease.outputs.prerelease }}
80+
prerelease: ${{ steps.get_prerelease.outputs.prerelease }}

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
require-build: true
2323
secrets:
2424
npm-token: ${{ secrets.NPM_TOKEN }}
25-
github-token: ${{ secrets.GITHUB_TOKEN }}
25+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/semgrep.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: ["master", "main"]
88

99
schedule:
10-
- cron: '30 0 1,15 * *'
10+
- cron: "30 0 1,15 * *"
1111

1212
jobs:
1313
semgrep:

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
branches:
1212
- main
1313
schedule:
14-
- cron: '30 0 1,15 * *'
14+
- cron: "30 0 1,15 * *"
1515

1616
permissions:
1717
contents: read

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,23 @@ The `jwtDecode` function is now no longer the default export, and is instead pro
3131
[Full Changelog](https://github.com/auth0/jwt-decode/compare/v4.0.0-beta.3..v4.0.0-beta.4)
3232

3333
**Breaking changes**
34+
3435
- Raise minimum Node.js version to 18 [\#209](https://github.com/auth0/jwt-decode/pull/209) ([jonkoops](https://github.com/jonkoops))
3536

3637
**Fixed**
38+
3739
- fix default condition should be the last one [\#199](https://github.com/auth0/jwt-decode/pull/199) ([frederikprijck](https://github.com/frederikprijck))
3840

3941
## Version [4.0.0-beta.3](https://github.com/auth0/jwt-decode/releases/tag/v4.0.0-beta.3)
4042

4143
[Full Changelog](https://github.com/auth0/jwt-decode/compare/v4.0.0-beta.2..v4.0.0-beta.3)
4244

4345
**Breaking changes**
46+
4447
- Drop UMD bundle [\#193](https://github.com/auth0/jwt-decode/pull/193) ([frederikprijck](https://github.com/frederikprijck))
4548

4649
**Changed**
50+
4751
- Use modern JavaScript syntax [\#187](https://github.com/auth0/jwt-decode/pull/187) ([jonkoops](https://github.com/jonkoops))
4852
- Use ESNext as default module system [\#188](https://github.com/auth0/jwt-decode/pull/188) ([jonkoops](https://github.com/jonkoops))
4953
- Avoid using any bundlers but use tsc instead [\#192](https://github.com/auth0/jwt-decode/pull/192) ([frederikprijck](https://github.com/frederikprijck))
@@ -53,17 +57,20 @@ The `jwtDecode` function is now no longer the default export, and is instead pro
5357
[Full Changelog](https://github.com/auth0/jwt-decode/compare/v4.0.0-beta.1..v4.0.0-beta.2)
5458

5559
**Changed**
60+
5661
- Avoid using default exports [\#175](https://github.com/auth0/jwt-decode/pull/175) ([frederikprijck](https://github.com/frederikprijck))
5762
- Make options optional no default function parameter initializer [\#179](https://github.com/auth0/jwt-decode/pull/179) ([cristobal](https://github.com/cristobal))
5863

5964
**Fixed**
65+
6066
- Ensure types are bundled and correctly linked [\#174](https://github.com/auth0/jwt-decode/pull/174) ([jonkoops](https://github.com/jonkoops))
6167

6268
## Version [4.0.0-beta.1](https://github.com/auth0/jwt-decode/releases/tag/v4.0.0-beta.1)
6369

6470
[Full Changelog](https://github.com/auth0/jwt-decode/compare/v4.0.0-beta.0..v4.0.0-beta.1)
6571

6672
**Fixed**
73+
6774
- Ensure build is run on prepack [\#167](https://github.com/auth0/jwt-decode/pull/167) ([frederikprijck](https://github.com/frederikprijck))
6875

6976
## Version [4.0.0-beta.0](https://github.com/auth0/jwt-decode/releases/tag/v4.0.0-beta.0)

0 commit comments

Comments
 (0)