Use Signal's spellcheck dictionary files

This commit is contained in:
Evan Hahn
2021-12-17 16:24:54 -06:00
committed by GitHub
parent fa9c523d39
commit 3fa911598b
6 changed files with 73 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
module.exports = {
rules: {
'@typescript-eslint/no-restricted-imports': 'off',
},
};

1
ts/test-node/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
!.eslintrc.js

View File

@@ -0,0 +1,14 @@
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { assert } from 'chai';
import { BrowserWindow } from 'electron';
import { createBrowserWindow } from '../../util/createBrowserWindow';
describe('createBrowserWindow', () => {
it('returns a BrowserWindow', () => {
const result = createBrowserWindow({ show: false });
assert.instanceOf(result, BrowserWindow);
});
});