Implement NIP-19 bech32-encoded private and public keys
https://github.com/nostr-protocol/nips/blob/master/19.md
This commit is contained in:
14
.rubocop.yml
14
.rubocop.yml
@@ -11,6 +11,10 @@ AllCops:
|
||||
|
||||
# ----------------------- Style -----------------------
|
||||
|
||||
Style/RaiseArgs:
|
||||
Exclude:
|
||||
- 'lib/nostr/key.rb'
|
||||
|
||||
Style/StringLiterals:
|
||||
Enabled: true
|
||||
EnforcedStyle: single_quotes
|
||||
@@ -38,3 +42,13 @@ Metrics/ParameterLists:
|
||||
|
||||
RSpec/ExampleLength:
|
||||
Enabled: false
|
||||
|
||||
RSpec/FilePath:
|
||||
Exclude:
|
||||
- spec/nostr/errors/invalid_*
|
||||
|
||||
# ----------------------- Naming -----------------------
|
||||
|
||||
Naming/MemoizedInstanceVariableName:
|
||||
Exclude:
|
||||
- 'spec/nostr/key.rb'
|
||||
|
||||
Reference in New Issue
Block a user