Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
eslint: Remove incorrectly duplicated configuration for help-beta.
Anders Kaseorgaa0dd4423452
diff --git a/.eslintrc.cjs b/.eslintrc.cjsindex f1667efdac8..bcabf517beb 100644--- a/.eslintrc.cjs+++ b/.eslintrc.cjs@@ -160,68 +160,14 @@ module.exports = {},{files: ["**/*.cts", "**/*.mts", "**/*.ts"],- excludedFiles: "help-beta/**",extends: ["plugin:@typescript-eslint/strict-type-checked","plugin:@typescript-eslint/stylistic-type-checked","plugin:import/typescript",],parserOptions: {- project: "tsconfig.json",- },- settings: {- "import/resolver": {- node: {- extensions: [".ts", ".d.ts", ".js"], // https://github.com/import-js/eslint-plugin-import/issues/2267- },- },- },- globals: {- JQuery: false,- },- rules: {- // Disable base rule to avoid conflict- "no-use-before-define": "off",-- "@typescript-eslint/consistent-type-assertions": [- "error",- {assertionStyle: "never"},- ],- "@typescript-eslint/consistent-type-definitions": ["error", "type"],- "@typescript-eslint/consistent-type-imports": "error",- "@typescript-eslint/explicit-function-return-type": [- "error",- {allowExpressions: true},- ],- "@typescript-eslint/member-ordering": "error",- "@typescript-eslint/method-signature-style": "error",- "@typescript-eslint/no-non-null-assertion": "off",- "@typescript-eslint/no-unnecessary-condition": "off",- "@typescript-eslint/no-unnecessary-qualifier": "error",- "@typescript-eslint/no-unused-vars": [- "error",- {args: "all", argsIgnorePattern: "^_", ignoreRestSiblings: true},- ],- "@typescript-eslint/no-use-before-define": [- "error",- {functions: false, variables: false},- ],- "@typescript-eslint/parameter-properties": "error",- "@typescript-eslint/promise-function-async": "error",- "@typescript-eslint/restrict-plus-operands": ["error", {}],- "@typescript-eslint/restrict-template-expressions": ["error", {}],- "no-undef": "error",- },- },- {- files: ["help-beta/**.ts"],- extends: [- "plugin:@typescript-eslint/strict-type-checked",- "plugin:@typescript-eslint/stylistic-type-checked",- "plugin:import/typescript",- ],- parserOptions: {- project: "help-beta/tsconfig.json",+ project: true,+ tsconfigRootDir: __dirname,},settings: {"import/resolver": {diff --git a/help-beta/src/env.d.ts b/help-beta/src/env.d.tsindex acef35f175a..c94cd6f45e6 100644--- a/help-beta/src/env.d.ts+++ b/help-beta/src/env.d.ts@@ -1,2 +1,4 @@+/* eslint-disable @typescript-eslint/triple-slash-reference */+/// <reference path="../.astro/types.d.ts" />/// <reference types="astro/client" />