forked from Kieran/snort
05605bdf28
* vastly simplify the api * add missing await * add eose to emitter * add eose to conn * add eose to the client * eose test * improve test suite, add dm tests * demonstrate that nostr-rs-relay auth options don't work * readme files * cleanup * fetch relay info * test readyState * export fetchRelayInfo * cleanup * better async/await linting * use strictEqual in tests * additional eslint rules * allow arbitrary extensions * saner error handling * update README * implement nip-02 --------- Co-authored-by: Kieran <kieran@harkin.me>
17 lines
361 B
JavaScript
17 lines
361 B
JavaScript
module.exports = {
|
|
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
|
parser: "@typescript-eslint/parser",
|
|
plugins: ["@typescript-eslint"],
|
|
root: true,
|
|
ignorePatterns: ["dist/", "src/legacy"],
|
|
env: {
|
|
browser: true,
|
|
node: true,
|
|
mocha: true,
|
|
},
|
|
rules: {
|
|
"require-await": "error",
|
|
eqeqeq: "error",
|
|
},
|
|
}
|