diff --git a/doc/package.json b/doc/package.json index 34c831f289..ffd046e8e7 100644 --- a/doc/package.json +++ b/doc/package.json @@ -15,6 +15,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/auto-relay/package.json b/examples/auto-relay/package.json index 933371a15c..ad9c89c939 100644 --- a/examples/auto-relay/package.json +++ b/examples/auto-relay/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/chat/package.json b/examples/chat/package.json index aedaf3d94e..0ac30542fd 100644 --- a/examples/chat/package.json +++ b/examples/chat/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/connection-encryption/package.json b/examples/connection-encryption/package.json index 99da5daf14..7cf427f22e 100644 --- a/examples/connection-encryption/package.json +++ b/examples/connection-encryption/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/discovery-mechanisms/package.json b/examples/discovery-mechanisms/package.json index a4f31c2208..1c65ab5aa7 100644 --- a/examples/discovery-mechanisms/package.json +++ b/examples/discovery-mechanisms/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/echo/package.json b/examples/echo/package.json index 89b95367a8..5977e77aad 100644 --- a/examples/echo/package.json +++ b/examples/echo/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/libp2p-in-the-browser/websockets/package.json b/examples/libp2p-in-the-browser/websockets/package.json index aaf2a8bbd4..e42fa7b487 100644 --- a/examples/libp2p-in-the-browser/websockets/package.json +++ b/examples/libp2p-in-the-browser/websockets/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/peer-and-content-routing/package.json b/examples/peer-and-content-routing/package.json index 1581c20778..13a741b498 100644 --- a/examples/peer-and-content-routing/package.json +++ b/examples/peer-and-content-routing/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/pnet/package.json b/examples/pnet/package.json index 47b7cab334..881d4a237a 100644 --- a/examples/pnet/package.json +++ b/examples/pnet/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/protocol-and-stream-muxing/package.json b/examples/protocol-and-stream-muxing/package.json index af5eae622c..abfdeae2ca 100644 --- a/examples/protocol-and-stream-muxing/package.json +++ b/examples/protocol-and-stream-muxing/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/pubsub/package.json b/examples/pubsub/package.json index 45d4cc79c6..926d723a12 100644 --- a/examples/pubsub/package.json +++ b/examples/pubsub/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/examples/transports/package.json b/examples/transports/package.json index 4ebd75fd0c..63f4406fbd 100644 --- a/examples/transports/package.json +++ b/examples/transports/package.json @@ -21,6 +21,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/interop/package.json b/interop/package.json index e09c147f4e..ef2f689f52 100644 --- a/interop/package.json +++ b/interop/package.json @@ -39,6 +39,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/crypto/package.json b/packages/crypto/package.json index 257e00fbd4..dd6c2aa238 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -63,6 +63,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" }, "ignorePatterns": [ diff --git a/packages/interface-compliance-tests/package.json b/packages/interface-compliance-tests/package.json index 07b539c5cc..cb166c8775 100644 --- a/packages/interface-compliance-tests/package.json +++ b/packages/interface-compliance-tests/package.json @@ -84,6 +84,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/interface-internal/package.json b/packages/interface-internal/package.json index 3e9c12b83f..329cc0b11c 100644 --- a/packages/interface-internal/package.json +++ b/packages/interface-internal/package.json @@ -68,6 +68,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/interface/package.json b/packages/interface/package.json index f4365c77f1..af42d6097e 100644 --- a/packages/interface/package.json +++ b/packages/interface/package.json @@ -140,6 +140,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/kad-dht/package.json b/packages/kad-dht/package.json index 38cceaabea..1d8faf0820 100644 --- a/packages/kad-dht/package.json +++ b/packages/kad-dht/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" }, "ignorePatterns": [ diff --git a/packages/keychain/package.json b/packages/keychain/package.json index 0f0a0dbbd2..1c1de16e52 100644 --- a/packages/keychain/package.json +++ b/packages/keychain/package.json @@ -36,6 +36,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/libp2p/package.json b/packages/libp2p/package.json index 2c14fb8c78..10b4827403 100644 --- a/packages/libp2p/package.json +++ b/packages/libp2p/package.json @@ -88,6 +88,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" }, "ignorePatterns": [ diff --git a/packages/logger/package.json b/packages/logger/package.json index 610139f2be..bf0deaec50 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/metrics-prometheus/package.json b/packages/metrics-prometheus/package.json index 0870f14c6d..c52341aeea 100644 --- a/packages/metrics-prometheus/package.json +++ b/packages/metrics-prometheus/package.json @@ -29,6 +29,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/multistream-select/package.json b/packages/multistream-select/package.json index 90248337a5..be4dc0383a 100644 --- a/packages/multistream-select/package.json +++ b/packages/multistream-select/package.json @@ -35,6 +35,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/peer-collections/package.json b/packages/peer-collections/package.json index 9233728e29..9193c73f4b 100644 --- a/packages/peer-collections/package.json +++ b/packages/peer-collections/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/peer-discovery-bootstrap/package.json b/packages/peer-discovery-bootstrap/package.json index 956e6ebfb5..812d1cd0e7 100644 --- a/packages/peer-discovery-bootstrap/package.json +++ b/packages/peer-discovery-bootstrap/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/peer-discovery-mdns/package.json b/packages/peer-discovery-mdns/package.json index 5abda29c48..08f700a418 100644 --- a/packages/peer-discovery-mdns/package.json +++ b/packages/peer-discovery-mdns/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/peer-id-factory/package.json b/packages/peer-id-factory/package.json index 6063a14598..eca2cf8d47 100644 --- a/packages/peer-id-factory/package.json +++ b/packages/peer-id-factory/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" }, "ignorePatterns": [ diff --git a/packages/peer-id/package.json b/packages/peer-id/package.json index 41d3e7ab5b..46cdf50b25 100644 --- a/packages/peer-id/package.json +++ b/packages/peer-id/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/peer-record/package.json b/packages/peer-record/package.json index b69afb11c4..5a516ef9a9 100644 --- a/packages/peer-record/package.json +++ b/packages/peer-record/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" }, "ignorePatterns": [ diff --git a/packages/peer-store/package.json b/packages/peer-store/package.json index c17160100f..574804f6b2 100644 --- a/packages/peer-store/package.json +++ b/packages/peer-store/package.json @@ -31,6 +31,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" }, "ignorePatterns": [ diff --git a/packages/protocol-perf/package.json b/packages/protocol-perf/package.json index 82a2952cad..e907d841e5 100644 --- a/packages/protocol-perf/package.json +++ b/packages/protocol-perf/package.json @@ -29,6 +29,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/pubsub-floodsub/package.json b/packages/pubsub-floodsub/package.json index 8eb5dd33f7..75aa5e0c19 100644 --- a/packages/pubsub-floodsub/package.json +++ b/packages/pubsub-floodsub/package.json @@ -36,6 +36,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/pubsub/package.json b/packages/pubsub/package.json index 00bce33699..b17bd2bb19 100644 --- a/packages/pubsub/package.json +++ b/packages/pubsub/package.json @@ -60,6 +60,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/stream-multiplexer-mplex/package.json b/packages/stream-multiplexer-mplex/package.json index f6fae9b5b5..b8aa2295f7 100644 --- a/packages/stream-multiplexer-mplex/package.json +++ b/packages/stream-multiplexer-mplex/package.json @@ -38,6 +38,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/transport-tcp/package.json b/packages/transport-tcp/package.json index 9dcadae253..c8c1511cf0 100644 --- a/packages/transport-tcp/package.json +++ b/packages/transport-tcp/package.json @@ -37,6 +37,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/transport-webrtc/package.json b/packages/transport-webrtc/package.json index b0ff397c61..ad308fea0f 100644 --- a/packages/transport-webrtc/package.json +++ b/packages/transport-webrtc/package.json @@ -28,6 +28,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/transport-websockets/package.json b/packages/transport-websockets/package.json index b05e599b7e..63ca10569c 100644 --- a/packages/transport-websockets/package.json +++ b/packages/transport-websockets/package.json @@ -51,6 +51,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/transport-webtransport/package.json b/packages/transport-webtransport/package.json index 25a91c9944..33930c8c00 100644 --- a/packages/transport-webtransport/package.json +++ b/packages/transport-webtransport/package.json @@ -47,6 +47,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/packages/utils/package.json b/packages/utils/package.json index ae0e46d617..e92083cbfe 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -68,6 +68,7 @@ "eslintConfig": { "extends": "ipfs", "parserOptions": { + "project": true, "sourceType": "module" } }, diff --git a/tsconfig.json b/tsconfig.json deleted file mode 100644 index de1f6ff316..0000000000 --- a/tsconfig.json +++ /dev/null @@ -1,6 +0,0 @@ -// This root tsconfig allows the linter to work properly in vscode -// It is not used to build subpackages -{ - "extends": "aegir/src/config/tsconfig.aegir.json", - "include": ["packages/**/*.ts"] -}