Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine committed Dec 13, 2023
1 parent 5fb572d commit da9e29c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/site/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ module.exports = {
parserOptions: {
project: './tsconfig.eslint.json',
},
rules: {
'spaced-comment': 'off',
'import/unambiguous': 'off',
},
overrides: [
{
files: ['**/*.{ts,tsx}'],
Expand Down
2 changes: 2 additions & 0 deletions packages/snap/src/handlers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ describe('onRPCRequest', () => {
const decryptRequest = keystore.SelfDecryptRequest.encode({
requests: [
{
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
payload: decodedEncryptResponse.responses[0].result!.encrypted,
},
],
Expand All @@ -243,6 +244,7 @@ describe('onRPCRequest', () => {
const decryptResultProto = keystore.DecryptResponse.decode(
base64Decode(decryptResultPayload),
);
// eslint-disable-next-line jest/prefer-strict-equal
expect(decryptResultProto.responses[0].result?.decrypted).toEqual(
originalData,
);
Expand Down

0 comments on commit da9e29c

Please sign in to comment.