From bbdb5d980b01bbb200ecd84bdded8581375872d3 Mon Sep 17 00:00:00 2001 From: ckohen Date: Thu, 23 Jun 2022 03:36:42 -0700 Subject: [PATCH] revert: refactor: move eslint.tsconfig.json to root (#8159) --- packages/actions/tsconfig.eslint.json | 19 ++++++++++++++++++- .../__tests__/messages/formatters.test.ts | 1 + packages/builders/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/collection/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/docgen/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/proxy-container/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/proxy/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/rest/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/scripts/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/voice/tsconfig.eslint.json | 19 ++++++++++++++++++- packages/website/tsconfig.eslint.json | 19 ++++++++++++++++++- 11 files changed, 181 insertions(+), 10 deletions(-) diff --git a/packages/actions/tsconfig.eslint.json b/packages/actions/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/actions/tsconfig.eslint.json +++ b/packages/actions/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/builders/__tests__/messages/formatters.test.ts b/packages/builders/__tests__/messages/formatters.test.ts index e58149470..151b5aa9b 100644 --- a/packages/builders/__tests__/messages/formatters.test.ts +++ b/packages/builders/__tests__/messages/formatters.test.ts @@ -1,3 +1,4 @@ +import { URL } from 'node:url'; import { describe, test, expect, vitest } from 'vitest'; import { blockQuote, diff --git a/packages/builders/tsconfig.eslint.json b/packages/builders/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/builders/tsconfig.eslint.json +++ b/packages/builders/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/collection/tsconfig.eslint.json b/packages/collection/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/collection/tsconfig.eslint.json +++ b/packages/collection/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/docgen/tsconfig.eslint.json b/packages/docgen/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/docgen/tsconfig.eslint.json +++ b/packages/docgen/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/proxy-container/tsconfig.eslint.json b/packages/proxy-container/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/proxy-container/tsconfig.eslint.json +++ b/packages/proxy-container/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/proxy/tsconfig.eslint.json b/packages/proxy/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/proxy/tsconfig.eslint.json +++ b/packages/proxy/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/rest/tsconfig.eslint.json b/packages/rest/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/rest/tsconfig.eslint.json +++ b/packages/rest/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/scripts/tsconfig.eslint.json b/packages/scripts/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/scripts/tsconfig.eslint.json +++ b/packages/scripts/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/voice/tsconfig.eslint.json b/packages/voice/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/voice/tsconfig.eslint.json +++ b/packages/voice/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] } diff --git a/packages/website/tsconfig.eslint.json b/packages/website/tsconfig.eslint.json index 4cd64a835..d04d4be3a 100644 --- a/packages/website/tsconfig.eslint.json +++ b/packages/website/tsconfig.eslint.json @@ -1,3 +1,20 @@ { - "extends": "../../tsconfig.eslint.json" + "extends": "./tsconfig.json", + "compilerOptions": { + "allowJs": true + }, + "include": [ + "**/*.ts", + "**/*.tsx", + "**/*.js", + "**/*.mjs", + "**/*.jsx", + "**/*.test.ts", + "**/*.test.js", + "**/*.test.mjs", + "**/*.spec.ts", + "**/*.spec.js", + "**/*.spec.mjs" + ], + "exclude": [] }