Skip to content

Commit

Permalink
style: non-null assertions and newline import (#561)
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra authored Dec 2, 2021
1 parent 69b11e5 commit 4e7b9cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ module.exports = {
'@typescript-eslint/ban-ts-comment': 'warn',
'@typescript-eslint/consistent-type-imports': 'error',
'import/no-cycle': 'error',
'import/newline-after-import': ['error', { count: 1 }],
'import/order': [
'error',
{
Expand All @@ -42,6 +43,7 @@ module.exports = {
'newlines-between': 'always',
},
],
'@typescript-eslint/no-non-null-assertion': 'error',
'import/no-extraneous-dependencies': [
'error',
{
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/utils/base58.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import base from '@multiformats/base-x'

const BASE58_ALPHABET = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'

const base58Converter = base(BASE58_ALPHABET)
Expand Down

0 comments on commit 4e7b9cf

Please sign in to comment.