Skip to content

Commit bdbb5e3

Browse files
authored
Upgrade NPM packages (#75)
- Migrate ESLint configuration to version 9 - Add new Firefox data collection permissions - Add NodeJS 24
1 parent f633735 commit bdbb5e3

File tree

8 files changed

+1455
-1119
lines changed

8 files changed

+1455
-1119
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

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

.github/workflows/ci.yml

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

1515
strategy:
1616
matrix:
17-
node-version: [18.x, 20.x, 22.x]
17+
node-version: [20.x, 22.x, 24.x]
1818

1919
steps:
2020
- uses: actions/checkout@v2

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13-
- name: Use Node.js 20.x
13+
- name: Use Node.js 24.x
1414
uses: actions/setup-node@v1
1515
with:
16-
node-version: 20.x
16+
node-version: 24.x
1717
- run: npm ci
1818
- run: npm run lint
1919
- run: npm run build

eslint.config.mjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import globals from "globals";
2+
3+
export default [
4+
{
5+
ignores: ["addon/**/*.js"],
6+
},
7+
{
8+
languageOptions: {
9+
globals: {
10+
...globals.browser,
11+
...globals.webextensions,
12+
},
13+
ecmaVersion: 2018,
14+
sourceType: "module",
15+
},
16+
},
17+
];

0 commit comments

Comments
 (0)