diff --git a/.eslintrc.js b/.eslintrc.js index 700a9de2a5a76..bd34b1d915f74 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -910,17 +910,17 @@ module.exports = { }, { files: [ - 'x-pack/plugins/aiops/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/apm/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/exploratory_view/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/infra/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/observability/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/observability_ai_assistant/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/observability_onboarding/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/observability_shared/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/profiling/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/synthetics/**/*.{js,mjs,ts,tsx}', - 'x-pack/plugins/ux/**/*.{js,mjs,ts,tsx}', + 'x-pack/plugins/aiops/**/*.tsx', + 'x-pack/plugins/apm/**/*.tsx', + 'x-pack/plugins/exploratory_view/**/*.tsx', + 'x-pack/plugins/infra/**/*.tsx', + 'x-pack/plugins/observability/**/*.tsx', + 'x-pack/plugins/observability_ai_assistant/**/*.tsx', + 'x-pack/plugins/observability_onboarding/**/*.tsx', + 'x-pack/plugins/observability_shared/**/*.tsx', + 'x-pack/plugins/profiling/**/*.tsx', + 'x-pack/plugins/synthetics/**/*.tsx', + 'x-pack/plugins/ux/**/*.tsx', ], rules: { '@kbn/telemetry/event_generating_elements_should_be_instrumented': 'error', @@ -928,17 +928,17 @@ module.exports = { }, { files: [ - 'x-pack/plugins/aiops/**/*.{tsx}', - 'x-pack/plugins/apm/**/*.{tsx}', - 'x-pack/plugins/exploratory_view/**/*.{tsx}', - 'x-pack/plugins/infra/**/*.{tsx}', - 'x-pack/plugins/observability/**/*.{tsx}', - 'x-pack/plugins/observability_ai_assistant/**/*.{tsx}', - 'x-pack/plugins/observability_onboarding/**/*.{tsx}', - 'x-pack/plugins/observability_shared/**/*.{tsx}', - 'x-pack/plugins/profiling/**/*.{tsx}', - 'x-pack/plugins/synthetics/**/*.{tsx}', - 'x-pack/plugins/ux/**/*.{tsx}', + 'x-pack/plugins/aiops/**/*.tsx', + 'x-pack/plugins/apm/**/*.tsx', + 'x-pack/plugins/exploratory_view/**/*.tsx', + 'x-pack/plugins/infra/**/*.tsx', + 'x-pack/plugins/observability/**/*.tsx', + 'x-pack/plugins/observability_ai_assistant/**/*.tsx', + 'x-pack/plugins/observability_onboarding/**/*.tsx', + 'x-pack/plugins/observability_shared/**/*.tsx', + 'x-pack/plugins/profiling/**/*.tsx', + 'x-pack/plugins/synthetics/**/*.tsx', + 'x-pack/plugins/ux/**/*.tsx', ], rules: { '@kbn/i18n/strings_should_be_translated_with_i18n': 'warn',