Commit Graph

20 Commits

Author SHA1 Message Date
Danish Arora 376bcf2a0a
chore: new eslint rules (#1416)
* add new eslint rules

* remove eslint scripts for build-utils

* refactor all files to fix breaking changes with new rules

* add a basic eslintrc for build-utils

* test

* fix more linting errors

* test

* update package.lock

* update stopping container

* update px node spec

* enable tests

* fix: conn manager events

* fix: peer exchange

* increase timeout on px test
2023-07-24 16:04:24 +05:30
Sasha 7075f10780
fix diplay workspace name (#1291)
Co-authored-by: Danish Arora <35004822+danisharora099@users.noreply.github.com>
2023-04-03 16:22:27 +05:30
fryorcraken.eth 0b93fdd76d
chore: extract exports path from package.json for rollup
Also sort eslint to lint JavaScript ESM files successfully.

Fixes #933
2023-03-01 15:46:21 +11:00
fryorcraken.eth c5546e7eee
test: build tools are expected to use dev dependencies 2023-02-27 09:48:30 +11:00
weboko 5a56b6432f
add configuration to determine devDependencies, move them in package 2023-01-19 22:49:11 +01:00
weboko 913573a25a
remove no-extraneous-dependencies lint options, move packages to devDep section 2023-01-19 22:14:17 +01:00
weboko bef68ee081
add lint rule to warn about missing deps in workspaces 2022-12-23 00:17:46 +01:00
fryorcraken.eth 280d4a60dc
chore: make no-console an error
We use `debug` across the codebase, this ensures no `console.log` slips
in by mistake.
2022-12-02 13:23:57 +11:00
fryorcraken.eth 81f3af0f66
chore: fix eslint 2022-10-30 21:19:14 +11:00
fryorcraken.eth 3c5f1d89df
style: add warning for usage of console 2022-09-08 13:18:07 +10:00
Franck Royer 4cf197e54d
Implement libp2p bootstrap interface 2022-07-20 12:43:40 +10:00
Franck cf025dea82
Adjust eslint settings
See: https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
2021-12-21 12:08:16 +11:00
Franck Royer 0974f313fd
Exclude test files from build 2021-05-11 14:05:12 +10:00
Franck Royer 656227d431
Remove null-assertion warnings for tests 2021-05-04 11:12:32 +10:00
Franck Royer 9e30627e2b
Force return types to be specified
Makes it easier to use the library. Best to enforce this early on.
2021-05-04 11:12:32 +10:00
Franck Royer ee8db698b3
Allow constant condition for loops 2021-04-13 15:03:14 +10:00
Franck Royer 704f2770d1
Use ts-proto
This allows the generation of ts files which makes it easier
to handle with test frameworks than just d.ts files
2021-03-22 15:49:58 +11:00
Franck Royer 8e91ca6d01
Adopt more typescript-y syntax, do not lint generated files 2021-03-10 14:30:31 +11:00
Franck Royer be47223bae
Connects to nim-waku using waku-relay protocol 2021-03-05 14:41:20 +11:00
Franck Royer f46ce77f57
Initial commit
Created with bitjson/typescript-starter@586cdb3029
2021-03-05 09:34:01 +11:00