Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions node/eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import chaiExpect from 'eslint-plugin-chai-expect';
import header from 'eslint-plugin-header';
import header from '@tony.ganchev/eslint-plugin-header';
import _import from 'eslint-plugin-import';
import jsdoc from 'eslint-plugin-jsdoc';
import mocha from 'eslint-plugin-mocha';
Expand All @@ -8,10 +8,6 @@ import { defineConfig } from 'eslint/config';
import eslintJs from '@eslint/js';
import promise from 'eslint-plugin-promise';

// Work around eslint 9 compatibility issue; see
// https://github.com/Stuk/eslint-plugin-header/issues/57
header.rules.header.meta.schema = false;

const config = defineConfig(
eslintJs.configs.recommended,
...tsEslint.configs.recommendedTypeChecked,
Expand All @@ -34,9 +30,7 @@ const config = defineConfig(
'line',
[
'',
{
pattern: ' Copyright \\d{4}(-\\d{4})? Signal Messenger, LLC.',
},
/ Copyright \d{4}(-\d{4})? Signal Messenger, LLC\./,
' SPDX-License-Identifier: AGPL-3.0-only',
'',
],
Expand Down
21 changes: 11 additions & 10 deletions node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"@eslint/js": "^9.35.0",
"@indutny/bencher": "^1.2.0",
"@signalapp/mock-server": "^11.1.0",
"@tony.ganchev/eslint-plugin-header": "^3.3.1",
"@types/bindings": "^1.3.0",
"@types/chai": "^5.2.3",
"@types/chai-as-promised": "^8.0.2",
Expand All @@ -57,7 +58,6 @@
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.0.0",
"eslint-plugin-chai-expect": "^3.1.0",
"eslint-plugin-header": "^3.1.0",
"eslint-plugin-import": "^2.32.0",
"eslint-plugin-jsdoc": "^48.2.0",
"eslint-plugin-mocha": "^10.1.0",
Expand Down