diff --git a/archive/opentelemetry-browser-extension-autoinjection/package.json b/archive/opentelemetry-browser-extension-autoinjection/package.json index c49aeead8b9..1efd629ff2b 100644 --- a/archive/opentelemetry-browser-extension-autoinjection/package.json +++ b/archive/opentelemetry-browser-extension-autoinjection/package.json @@ -44,7 +44,6 @@ "eslint-plugin-header": "3.1.1", "eslint-plugin-import": "2.25.4", "eslint-plugin-json5": "0.1.4", - "gts": "3.1.0", "html-webpack-plugin": "5.3.2", "jimp": "0.16.1", "jsdom": "15.2.1", diff --git a/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json b/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json index 7a243bc17b4..960f3c28ac3 100644 --- a/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json +++ b/detectors/node/opentelemetry-resource-detector-alibaba-cloud/package.json @@ -47,7 +47,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nock": "12.0.3", "nyc": "15.1.0", diff --git a/detectors/node/opentelemetry-resource-detector-aws/package.json b/detectors/node/opentelemetry-resource-detector-aws/package.json index 0393ceb1ad8..f99a6d42c6f 100644 --- a/detectors/node/opentelemetry-resource-detector-aws/package.json +++ b/detectors/node/opentelemetry-resource-detector-aws/package.json @@ -46,7 +46,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nock": "12.0.3", "nyc": "15.1.0", diff --git a/detectors/node/opentelemetry-resource-detector-container/package.json b/detectors/node/opentelemetry-resource-detector-container/package.json index b9acd50923b..c64a07b8222 100644 --- a/detectors/node/opentelemetry-resource-detector-container/package.json +++ b/detectors/node/opentelemetry-resource-detector-container/package.json @@ -41,7 +41,6 @@ "@types/node": "^18.0.0", "@types/sinon": "10.0.2", "eslint-plugin-header": "^3.1.1", - "gts": "^3.1.0", "mocha": "7.2.0", "nock": "12.0.3", "nyc": "15.1.0", diff --git a/detectors/node/opentelemetry-resource-detector-gcp/package.json b/detectors/node/opentelemetry-resource-detector-gcp/package.json index 6e50947b585..fc7c6460a77 100644 --- a/detectors/node/opentelemetry-resource-detector-gcp/package.json +++ b/detectors/node/opentelemetry-resource-detector-gcp/package.json @@ -45,7 +45,7 @@ "@opentelemetry/contrib-test-utils": "^0.33.2", "@types/mocha": "8.2.3", "@types/node": "18.11.7", - "gts": "3.1.0", + "@types/semver": "7.3.8", "mocha": "7.2.0", "nock": "12.0.3", "nyc": "15.1.0", diff --git a/detectors/node/opentelemetry-resource-detector-github/package.json b/detectors/node/opentelemetry-resource-detector-github/package.json index e1fcb555585..68516384f2e 100644 --- a/detectors/node/opentelemetry-resource-detector-github/package.json +++ b/detectors/node/opentelemetry-resource-detector-github/package.json @@ -49,7 +49,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/detectors/node/opentelemetry-resource-detector-instana/package.json b/detectors/node/opentelemetry-resource-detector-instana/package.json index b182d98efed..f9275e44887 100644 --- a/detectors/node/opentelemetry-resource-detector-instana/package.json +++ b/detectors/node/opentelemetry-resource-detector-instana/package.json @@ -47,7 +47,6 @@ "@types/semver": "7.3.8", "mocha": "7.2.0", "nock": "12.0.3", - "gts": "3.1.0", "nyc": "15.1.0", "rimraf": "4.2.0", "ts-mocha": "10.0.0", diff --git a/eslint.config.js b/eslint.config.js index 1b57d26fd14..2ebc6dc3690 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -2,50 +2,64 @@ module.exports = { plugins: [ "@typescript-eslint", "header", - "import" - ], - extends: [ - "./node_modules/gts", + "node", + "prettier" ], + extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"], parser: "@typescript-eslint/parser", parserOptions: { - "project": "./tsconfig.json" + "project": "./tsconfig.json" }, rules: { - "quotes": [2, "single", { "avoidEscape": true }], - "@typescript-eslint/no-this-alias": "off", + "quotes": ["error", "single", { "avoidEscape": true }], "eqeqeq": "off", "prefer-rest-params": "off", - "@typescript-eslint/naming-convention": [ - "error", - { - "selector": "memberLike", - "modifiers": ["private", "protected"], - "format": ["camelCase"], - "leadingUnderscore": "require" - } - ], - "@typescript-eslint/no-inferrable-types": ["error", { ignoreProperties: true }], - "arrow-parens": ["error", "as-needed"], - "prettier/prettier": ["error", { "singleQuote": true, "arrowParens": "avoid" }], + "no-shadow": "off", "node/no-deprecated-api": ["warn"], - "header/header": [2, "block", [{ - pattern: / \* Copyright The OpenTelemetry Authors[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an \"AS IS\" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\./gm, - template: + "header/header": ["error", "block", [{ + pattern: / \* Copyright The OpenTelemetry Authors[\r\n]+ \*[\r\n]+ \* Licensed under the Apache License, Version 2\.0 \(the \"License\"\);[\r\n]+ \* you may not use this file except in compliance with the License\.[\r\n]+ \* You may obtain a copy of the License at[\r\n]+ \*[\r\n]+ \* https:\/\/www\.apache\.org\/licenses\/LICENSE-2\.0[\r\n]+ \*[\r\n]+ \* Unless required by applicable law or agreed to in writing, software[\r\n]+ \* distributed under the License is distributed on an \"AS IS\" BASIS,[\r\n]+ \* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied\.[\r\n]+ \* See the License for the specific language governing permissions and[\r\n]+ \* limitations under the License\./gm, + template: `\n * Copyright The OpenTelemetry Authors\n *\n * Licensed under the Apache License, Version 2.0 (the "License");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an "AS IS" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n ` - }]], - "import/no-extraneous-dependencies": ["error", { devDependencies: ["test/**/*.ts"] }], + }]] }, overrides: [ { - "files": ["test/**/*.ts"], - "rules": { + files: ['*.ts'], + rules: { + "@typescript-eslint/no-this-alias": "off", + "@typescript-eslint/naming-convention": [ + "error", + { + "selector": "memberLike", + "modifiers": ["private", "protected"], + "format": ["camelCase"], + "leadingUnderscore": "require" + } + ], + "@typescript-eslint/no-var-requires": "off", + "@typescript-eslint/no-inferrable-types": ["error", { ignoreProperties: true }], + "@typescript-eslint/no-empty-function": ["off"], + "@typescript-eslint/ban-types": ["warn", { + "types": { + "Function": null, + } + }], + "@typescript-eslint/no-shadow": ["warn"], + } + }, + { + files: ["test/**/*.ts"], + rules: { "no-empty": "off", "@typescript-eslint/ban-ts-ignore": "off", "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-unused-vars": "off", - "@typescript-eslint/no-var-requires": "off" + "@typescript-eslint/no-var-requires": "off", + "@typescript-eslint/no-shadow": ["off"], + "@typescript-eslint/no-floating-promises": ["off"], + "@typescript-eslint/no-non-null-assertion": ["off"], + "@typescript-eslint/explicit-module-boundary-types": ["off"] } } ] diff --git a/metapackages/auto-instrumentations-node/package.json b/metapackages/auto-instrumentations-node/package.json index e7c1b029feb..49a91d76967 100644 --- a/metapackages/auto-instrumentations-node/package.json +++ b/metapackages/auto-instrumentations-node/package.json @@ -41,7 +41,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/metapackages/auto-instrumentations-web/package.json b/metapackages/auto-instrumentations-web/package.json index 4ae082ad02a..a8fddc23923 100644 --- a/metapackages/auto-instrumentations-web/package.json +++ b/metapackages/auto-instrumentations-web/package.json @@ -40,7 +40,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1", diff --git a/package.json b/package.json index 0ea273374f7..24049e1ff7a 100644 --- a/package.json +++ b/package.json @@ -50,12 +50,15 @@ "@typescript-eslint/parser": "5.8.1", "eslint": "8.7.0", "eslint-config-airbnb-base": "15.0.0", + "eslint-config-prettier": "8.8.0", "eslint-plugin-header": "3.1.1", - "eslint-plugin-import": "2.25.4", - "gts": "3.1.0", + "eslint-plugin-import": "2.27.5", + "eslint-plugin-node": "11.1.0", + "eslint-plugin-prettier": "4.2.1", "husky": "7.0.4", "lerna": "5.5.2", "lerna-changelog": "2.2.0", + "prettier": "2.8.7", "typescript": "4.4.4" }, "changelog": { diff --git a/packages/opentelemetry-host-metrics/package.json b/packages/opentelemetry-host-metrics/package.json index aec11b2ef55..2a5fd25c0b5 100644 --- a/packages/opentelemetry-host-metrics/package.json +++ b/packages/opentelemetry-host-metrics/package.json @@ -50,7 +50,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/packages/opentelemetry-id-generator-aws-xray/package.json b/packages/opentelemetry-id-generator-aws-xray/package.json index cd5aaff8c44..2248ea5727c 100644 --- a/packages/opentelemetry-id-generator-aws-xray/package.json +++ b/packages/opentelemetry-id-generator-aws-xray/package.json @@ -59,7 +59,6 @@ "@types/node": "18.11.7", "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1", diff --git a/packages/opentelemetry-propagation-utils/package.json b/packages/opentelemetry-propagation-utils/package.json index 0d3dcd42f1d..013c3123a45 100644 --- a/packages/opentelemetry-propagation-utils/package.json +++ b/packages/opentelemetry-propagation-utils/package.json @@ -50,7 +50,6 @@ "@types/node": "18.11.7", "@types/sinon": "^10.0.11", "expect": "29.2.0", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "sinon": "15.0.1", diff --git a/packages/opentelemetry-redis-common/package.json b/packages/opentelemetry-redis-common/package.json index 1f07da01e76..e8622926c39 100644 --- a/packages/opentelemetry-redis-common/package.json +++ b/packages/opentelemetry-redis-common/package.json @@ -41,7 +41,6 @@ "devDependencies": { "@types/mocha": "^9.1.1", "@types/node": "18.11.7", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "ts-mocha": "10.0.0", diff --git a/packages/opentelemetry-test-utils/package.json b/packages/opentelemetry-test-utils/package.json index a257ecaf84a..c88aa12eeaa 100644 --- a/packages/opentelemetry-test-utils/package.json +++ b/packages/opentelemetry-test-utils/package.json @@ -43,7 +43,6 @@ "devDependencies": { "@opentelemetry/api": "^1.3.0", "@types/node": "18.11.7", - "gts": "3.1.0", "typescript": "4.4.4" }, "dependencies": { diff --git a/plugins/node/instrumentation-amqplib/package.json b/plugins/node/instrumentation-amqplib/package.json index 9f10bf48785..5c085d9bcb1 100644 --- a/plugins/node/instrumentation-amqplib/package.json +++ b/plugins/node/instrumentation-amqplib/package.json @@ -64,7 +64,6 @@ "mocha": "7.2.0", "ts-mocha": "10.0.0", "nyc": "15.1.0", - "gts": "3.1.0", "sinon": "15.0.1", "test-all-versions": "5.0.1", "typescript": "4.4.4" diff --git a/plugins/node/instrumentation-dataloader/package.json b/plugins/node/instrumentation-dataloader/package.json index 24bff9f2a59..06ced203abd 100644 --- a/plugins/node/instrumentation-dataloader/package.json +++ b/plugins/node/instrumentation-dataloader/package.json @@ -53,7 +53,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "dataloader": "2.2.1", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/instrumentation-fs/package.json b/plugins/node/instrumentation-fs/package.json index bc39c752385..c40cd51e890 100644 --- a/plugins/node/instrumentation-fs/package.json +++ b/plugins/node/instrumentation-fs/package.json @@ -50,7 +50,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "@types/sinon": "^10.0.11", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/instrumentation-lru-memoizer/package.json b/plugins/node/instrumentation-lru-memoizer/package.json index adde399c85b..ff2a39aef43 100644 --- a/plugins/node/instrumentation-lru-memoizer/package.json +++ b/plugins/node/instrumentation-lru-memoizer/package.json @@ -48,7 +48,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "expect": "29.2.0", - "gts": "3.1.0", "lru-memoizer": "2.1.4", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/instrumentation-mongoose/package.json b/plugins/node/instrumentation-mongoose/package.json index d2494485af3..33358620a38 100644 --- a/plugins/node/instrumentation-mongoose/package.json +++ b/plugins/node/instrumentation-mongoose/package.json @@ -51,7 +51,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "expect": "29.2.0", - "gts": "3.1.0", "mocha": "7.2.0", "mongoose": "6.5.2", "nyc": "15.1.0", diff --git a/plugins/node/instrumentation-socket.io/package.json b/plugins/node/instrumentation-socket.io/package.json index fdcea5b0e0b..513504f4a5a 100644 --- a/plugins/node/instrumentation-socket.io/package.json +++ b/plugins/node/instrumentation-socket.io/package.json @@ -48,7 +48,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "expect": "27.4.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/instrumentation-tedious/package.json b/plugins/node/instrumentation-tedious/package.json index d44336e19b5..5468815ee76 100644 --- a/plugins/node/instrumentation-tedious/package.json +++ b/plugins/node/instrumentation-tedious/package.json @@ -53,7 +53,6 @@ "@opentelemetry/sdk-trace-base": "^1.8.0", "@types/mocha": "7.0.2", "@types/node": "18.11.7", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json b/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json index 8bca56cb2e0..d1959d99ace 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json +++ b/plugins/node/opentelemetry-instrumentation-aws-lambda/package.json @@ -52,7 +52,6 @@ "@opentelemetry/sdk-metrics": "^1.8.0", "@types/mocha": "7.0.2", "@types/node": "18.11.7", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json b/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json index 71ca2b86f8b..d1714eebfe9 100644 --- a/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json +++ b/plugins/node/opentelemetry-instrumentation-aws-sdk/package.json @@ -67,7 +67,6 @@ "aws-sdk": "2.1008.0", "eslint": "8.7.0", "expect": "29.2.0", - "gts": "3.1.0", "mocha": "7.2.0", "nock": "13.2.1", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-bunyan/package.json b/plugins/node/opentelemetry-instrumentation-bunyan/package.json index 9531a59c29f..6c3c66c7f13 100644 --- a/plugins/node/opentelemetry-instrumentation-bunyan/package.json +++ b/plugins/node/opentelemetry-instrumentation-bunyan/package.json @@ -55,7 +55,6 @@ "@types/node": "18.11.7", "@types/sinon": "10.0.2", "bunyan": "1.8.15", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-cassandra/package.json b/plugins/node/opentelemetry-instrumentation-cassandra/package.json index 238ef6c1037..20eedc419ab 100644 --- a/plugins/node/opentelemetry-instrumentation-cassandra/package.json +++ b/plugins/node/opentelemetry-instrumentation-cassandra/package.json @@ -56,7 +56,6 @@ "@types/semver": "7.3.8", "@types/sinon": "10.0.2", "cassandra-driver": "4.6.3", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-connect/package.json b/plugins/node/opentelemetry-instrumentation-connect/package.json index 4973de904b7..ebd9f11bcb2 100644 --- a/plugins/node/opentelemetry-instrumentation-connect/package.json +++ b/plugins/node/opentelemetry-instrumentation-connect/package.json @@ -51,7 +51,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "connect": "3.7.0", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-dns/package.json b/plugins/node/opentelemetry-instrumentation-dns/package.json index 2bbb891439c..7b5f5d7ff78 100644 --- a/plugins/node/opentelemetry-instrumentation-dns/package.json +++ b/plugins/node/opentelemetry-instrumentation-dns/package.json @@ -54,7 +54,6 @@ "@types/semver": "7.3.8", "@types/shimmer": "1.0.2", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-express/package.json b/plugins/node/opentelemetry-instrumentation-express/package.json index d53ef36610d..1db32213b77 100644 --- a/plugins/node/opentelemetry-instrumentation-express/package.json +++ b/plugins/node/opentelemetry-instrumentation-express/package.json @@ -56,7 +56,6 @@ "@types/node": "18.11.7", "@types/sinon": "10.0.9", "express": "4.17.3", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-fastify/package.json b/plugins/node/opentelemetry-instrumentation-fastify/package.json index 0842b9172e4..cfde7f78e63 100644 --- a/plugins/node/opentelemetry-instrumentation-fastify/package.json +++ b/plugins/node/opentelemetry-instrumentation-fastify/package.json @@ -55,7 +55,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "fastify": "^4.5.3", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-generic-pool/package.json b/plugins/node/opentelemetry-instrumentation-generic-pool/package.json index be90ab09cd5..33eef11c7ba 100644 --- a/plugins/node/opentelemetry-instrumentation-generic-pool/package.json +++ b/plugins/node/opentelemetry-instrumentation-generic-pool/package.json @@ -53,7 +53,6 @@ "@types/node": "18.11.7", "@types/semver": "7.3.8", "generic-pool": "3.8.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-graphql/package.json b/plugins/node/opentelemetry-instrumentation-graphql/package.json index 6b94543fa99..0d3619a1acc 100644 --- a/plugins/node/opentelemetry-instrumentation-graphql/package.json +++ b/plugins/node/opentelemetry-instrumentation-graphql/package.json @@ -53,7 +53,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "graphql": "^16.5.0", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-hapi/package.json b/plugins/node/opentelemetry-instrumentation-hapi/package.json index 335a51dce60..532833bfdf8 100644 --- a/plugins/node/opentelemetry-instrumentation-hapi/package.json +++ b/plugins/node/opentelemetry-instrumentation-hapi/package.json @@ -52,7 +52,6 @@ "@opentelemetry/sdk-trace-node": "^1.8.0", "@types/mocha": "7.0.2", "@types/node": "18.11.7", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-ioredis/package.json b/plugins/node/opentelemetry-instrumentation-ioredis/package.json index b4be845d719..70eb4acfb3a 100644 --- a/plugins/node/opentelemetry-instrumentation-ioredis/package.json +++ b/plugins/node/opentelemetry-instrumentation-ioredis/package.json @@ -60,7 +60,6 @@ "@types/node": "18.11.7", "cross-env": "7.0.3", "ioredis": "5.2.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-knex/package.json b/plugins/node/opentelemetry-instrumentation-knex/package.json index 34a8fc51141..911ea3c18ff 100644 --- a/plugins/node/opentelemetry-instrumentation-knex/package.json +++ b/plugins/node/opentelemetry-instrumentation-knex/package.json @@ -51,7 +51,6 @@ "@opentelemetry/sdk-trace-node": "^1.8.0", "@types/mocha": "7.0.2", "@types/node": "18.11.7", - "gts": "3.1.0", "knex": "0.95.9", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-koa/package.json b/plugins/node/opentelemetry-instrumentation-koa/package.json index d4f5b70cf04..504b0781afb 100644 --- a/plugins/node/opentelemetry-instrumentation-koa/package.json +++ b/plugins/node/opentelemetry-instrumentation-koa/package.json @@ -57,7 +57,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "@types/sinon": "10.0.9", - "gts": "3.1.0", "koa": "2.13.1", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-memcached/package.json b/plugins/node/opentelemetry-instrumentation-memcached/package.json index 1be04bd5f5e..5ed4ce9f71f 100644 --- a/plugins/node/opentelemetry-instrumentation-memcached/package.json +++ b/plugins/node/opentelemetry-instrumentation-memcached/package.json @@ -55,7 +55,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "cross-env": "7.0.3", - "gts": "3.1.0", "memcached": "2.2.2", "mocha": "7.2.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-mongodb/package.json b/plugins/node/opentelemetry-instrumentation-mongodb/package.json index 86ce21540fd..fc1526c84c5 100644 --- a/plugins/node/opentelemetry-instrumentation-mongodb/package.json +++ b/plugins/node/opentelemetry-instrumentation-mongodb/package.json @@ -57,7 +57,6 @@ "@opentelemetry/sdk-trace-node": "^1.8.0", "@types/mocha": "7.0.2", "@types/node": "18.11.7", - "gts": "3.1.0", "mocha": "7.2.0", "mongodb": "3.6.11", "@types/mongodb": "3.6.20", diff --git a/plugins/node/opentelemetry-instrumentation-mysql/package.json b/plugins/node/opentelemetry-instrumentation-mysql/package.json index f7b8f3b5146..8bf39d0c195 100644 --- a/plugins/node/opentelemetry-instrumentation-mysql/package.json +++ b/plugins/node/opentelemetry-instrumentation-mysql/package.json @@ -54,7 +54,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "@types/sinon": "10.0.13", - "gts": "3.1.0", "mocha": "7.2.0", "mysql": "2.18.1", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-mysql2/package.json b/plugins/node/opentelemetry-instrumentation-mysql2/package.json index 69dc09b7c57..1ffddf6d793 100644 --- a/plugins/node/opentelemetry-instrumentation-mysql2/package.json +++ b/plugins/node/opentelemetry-instrumentation-mysql2/package.json @@ -55,7 +55,6 @@ "@types/mysql2": "github:types/mysql2", "@types/node": "18.11.7", "@types/semver": "7.3.8", - "gts": "3.1.0", "mocha": "7.2.0", "mysql2": "2.3.0", "nyc": "15.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json index 4433510f670..ec9eb1333c4 100644 --- a/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json +++ b/plugins/node/opentelemetry-instrumentation-nestjs-core/package.json @@ -61,7 +61,6 @@ "@types/node": "18.11.7", "@types/semver": "7.3.8", "cross-env": "7.0.3", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "reflect-metadata": "0.1.13", diff --git a/plugins/node/opentelemetry-instrumentation-net/package.json b/plugins/node/opentelemetry-instrumentation-net/package.json index d3f17235d5c..a4501047f88 100644 --- a/plugins/node/opentelemetry-instrumentation-net/package.json +++ b/plugins/node/opentelemetry-instrumentation-net/package.json @@ -53,7 +53,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-pg/package.json b/plugins/node/opentelemetry-instrumentation-pg/package.json index f6c74b4c697..73350e61bc0 100644 --- a/plugins/node/opentelemetry-instrumentation-pg/package.json +++ b/plugins/node/opentelemetry-instrumentation-pg/package.json @@ -62,7 +62,6 @@ "@types/node": "18.11.7", "@types/sinon": "10.0.2", "cross-env": "7.0.3", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "pg": "8.7.1", diff --git a/plugins/node/opentelemetry-instrumentation-pino/package.json b/plugins/node/opentelemetry-instrumentation-pino/package.json index 64e1777a06f..b70350fe292 100644 --- a/plugins/node/opentelemetry-instrumentation-pino/package.json +++ b/plugins/node/opentelemetry-instrumentation-pino/package.json @@ -55,7 +55,6 @@ "@types/node": "18.11.7", "@types/semver": "7.3.8", "@types/sinon": "10.0.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "pino": "8.3.1", diff --git a/plugins/node/opentelemetry-instrumentation-redis-4/package.json b/plugins/node/opentelemetry-instrumentation-redis-4/package.json index 8bc2cb6ff4a..9dde1c58644 100644 --- a/plugins/node/opentelemetry-instrumentation-redis-4/package.json +++ b/plugins/node/opentelemetry-instrumentation-redis-4/package.json @@ -60,7 +60,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "cross-env": "7.0.3", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "redis": "4.1.0", diff --git a/plugins/node/opentelemetry-instrumentation-redis/package.json b/plugins/node/opentelemetry-instrumentation-redis/package.json index bf5d9e2c410..ba761a43cdf 100644 --- a/plugins/node/opentelemetry-instrumentation-redis/package.json +++ b/plugins/node/opentelemetry-instrumentation-redis/package.json @@ -60,7 +60,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "cross-env": "7.0.3", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "redis": "3.1.2", diff --git a/plugins/node/opentelemetry-instrumentation-restify/package.json b/plugins/node/opentelemetry-instrumentation-restify/package.json index 1f948db6aad..ea8c245ea03 100644 --- a/plugins/node/opentelemetry-instrumentation-restify/package.json +++ b/plugins/node/opentelemetry-instrumentation-restify/package.json @@ -54,7 +54,6 @@ "@types/node": "18.11.7", "@types/restify": "4.3.8", "@types/semver": "^7.3.12", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "restify": "8.6.1", diff --git a/plugins/node/opentelemetry-instrumentation-router/package.json b/plugins/node/opentelemetry-instrumentation-router/package.json index 01b870137be..a179f2f6f2e 100644 --- a/plugins/node/opentelemetry-instrumentation-router/package.json +++ b/plugins/node/opentelemetry-instrumentation-router/package.json @@ -51,7 +51,6 @@ "@opentelemetry/sdk-trace-node": "^1.8.0", "@types/mocha": "7.0.2", "@types/node": "18.11.7", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/node/opentelemetry-instrumentation-winston/package.json b/plugins/node/opentelemetry-instrumentation-winston/package.json index ed702ebc33f..a2c0c4e4382 100644 --- a/plugins/node/opentelemetry-instrumentation-winston/package.json +++ b/plugins/node/opentelemetry-instrumentation-winston/package.json @@ -55,7 +55,6 @@ "@types/node": "18.11.7", "@types/sinon": "10.0.2", "@types/triple-beam": "^1.3.2", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/plugins/web/opentelemetry-instrumentation-document-load/package.json b/plugins/web/opentelemetry-instrumentation-document-load/package.json index dac0941fbfa..1b656f7fcb4 100644 --- a/plugins/web/opentelemetry-instrumentation-document-load/package.json +++ b/plugins/web/opentelemetry-instrumentation-document-load/package.json @@ -57,7 +57,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1", diff --git a/plugins/web/opentelemetry-instrumentation-long-task/package.json b/plugins/web/opentelemetry-instrumentation-long-task/package.json index 9da05252c40..a7eef4c1a05 100644 --- a/plugins/web/opentelemetry-instrumentation-long-task/package.json +++ b/plugins/web/opentelemetry-instrumentation-long-task/package.json @@ -56,7 +56,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1", diff --git a/plugins/web/opentelemetry-instrumentation-user-interaction/package.json b/plugins/web/opentelemetry-instrumentation-user-interaction/package.json index f7b40361fb7..a7ce2daf67b 100644 --- a/plugins/web/opentelemetry-instrumentation-user-interaction/package.json +++ b/plugins/web/opentelemetry-instrumentation-user-interaction/package.json @@ -58,7 +58,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1", diff --git a/plugins/web/opentelemetry-plugin-react-load/package.json b/plugins/web/opentelemetry-plugin-react-load/package.json index 69433185a11..12e25a268e6 100644 --- a/plugins/web/opentelemetry-plugin-react-load/package.json +++ b/plugins/web/opentelemetry-plugin-react-load/package.json @@ -59,7 +59,6 @@ "@types/sinon": "10.0.2", "@types/webpack-env": "1.16.2", "babel-loader": "8.2.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1", diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 00000000000..ab9553d533f --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,8 @@ +module.exports = { + arrowParens: 'avoid', + printWidth: 80, + trailingComma: 'es5', + tabWidth: 2, + semi: true, + singleQuote: true, +}; diff --git a/propagators/opentelemetry-propagator-aws-xray/package.json b/propagators/opentelemetry-propagator-aws-xray/package.json index 3cd1a8f7201..0e70815c6b8 100644 --- a/propagators/opentelemetry-propagator-aws-xray/package.json +++ b/propagators/opentelemetry-propagator-aws-xray/package.json @@ -52,7 +52,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "@types/webpack-env": "1.16.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1", diff --git a/propagators/opentelemetry-propagator-grpc-census-binary/package.json b/propagators/opentelemetry-propagator-grpc-census-binary/package.json index 3f926962c08..c19864f5391 100644 --- a/propagators/opentelemetry-propagator-grpc-census-binary/package.json +++ b/propagators/opentelemetry-propagator-grpc-census-binary/package.json @@ -49,7 +49,6 @@ "@types/mocha": "7.0.2", "@types/node": "18.11.7", "grpc": "1.24.11", - "gts": "3.1.0", "mocha": "7.2.0", "nyc": "15.1.0", "rimraf": "4.2.0", diff --git a/propagators/opentelemetry-propagator-instana/package.json b/propagators/opentelemetry-propagator-instana/package.json index 334a4d92fe7..e24f8b49b67 100644 --- a/propagators/opentelemetry-propagator-instana/package.json +++ b/propagators/opentelemetry-propagator-instana/package.json @@ -55,7 +55,6 @@ "@types/node": "18.11.7", "@types/webpack-env": "1.16.2", "assert": "2.0.0", - "gts": "3.1.0", "karma": "6.3.17", "karma-chrome-launcher": "3.1.1", "karma-coverage-istanbul-reporter": "3.0.3", diff --git a/propagators/opentelemetry-propagator-ot-trace/package.json b/propagators/opentelemetry-propagator-ot-trace/package.json index 0dc7ce4da48..36bd939f5e2 100644 --- a/propagators/opentelemetry-propagator-ot-trace/package.json +++ b/propagators/opentelemetry-propagator-ot-trace/package.json @@ -53,7 +53,6 @@ "@types/mocha": "8.2.3", "@types/node": "18.11.7", "@types/webpack-env": "1.16.2", - "gts": "3.1.0", "@jsdevtools/coverage-istanbul-loader": "3.0.5", "karma": "6.3.16", "karma-chrome-launcher": "^3.1.1",