signal-desktop/libtextsecure/test/.eslintrc.js

29 lines
520 B
JavaScript
Raw Normal View History

2020-10-30 20:34:04 +00:00
// Copyright 2020 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
module.exports = {
env: {
browser: true,
node: false,
mocha: true,
},
parserOptions: {
sourceType: 'script',
},
rules: {
strict: 'off',
'more/no-then': 'off',
},
globals: {
assert: true,
assertEqualArrayBuffers: true,
dcodeIO: true,
getString: true,
hexToArrayBuffer: true,
MockServer: true,
MockSocket: true,
PROTO_ROOT: true,
stringToArrayBuffer: true,
},
};