mirror of
https://github.com/logos-messaging/js-waku.git
synced 2026-01-02 13:53:12 +00:00
* feat(browser-tests): simplify, refactor, update dockerized browser node * Update packages/browser-tests/web/index.ts * fix: remove comments and console.logs from tests * fix: add temporary logging * fix: debugging static sharding * fix: replace console with logger * fix: remove use of any * fix: log dial error * fix: replace any with libp2p options * fix: remove unused logic around sourcing address.env * fix: uncomment log * fix: add more logging and fix tests * feat: add types for test-config * fix: add types to server.ts * fix: remove more uses of any * fix: remove use of any in endpoint handlers
46 lines
1.1 KiB
JavaScript
46 lines
1.1 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
ecmaVersion: 2022,
|
|
sourceType: "module"
|
|
},
|
|
env: {
|
|
node: true,
|
|
browser: true,
|
|
es2021: true
|
|
},
|
|
plugins: ["import"],
|
|
extends: ["eslint:recommended"],
|
|
rules: {
|
|
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "ignoreRestSiblings": true }]
|
|
},
|
|
globals: {
|
|
process: true
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ["*.spec.ts", "**/test_utils/*.ts"],
|
|
rules: {
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"no-console": "off",
|
|
"import/no-extraneous-dependencies": ["error", { "devDependencies": true }]
|
|
}
|
|
},
|
|
{
|
|
files: ["*.ts"],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
tsconfigRootDir: __dirname,
|
|
project: "./tsconfig.dev.json"
|
|
}
|
|
},
|
|
{
|
|
files: ["*.d.ts"],
|
|
rules: {
|
|
"no-unused-vars": "off"
|
|
}
|
|
}
|
|
]
|
|
};
|