diff --git a/.editorconfig b/.editorconfig index f0c3faa747..53f0dc510a 100644 --- a/.editorconfig +++ b/.editorconfig @@ -12,7 +12,7 @@ trim_trailing_whitespace = true binary_next_line = true switch_case_indent = true -[{*.{js,json,ts},check-openapi}] +[{*.{cjs,cts,js,json,mjs,mts,ts},check-openapi}] max_line_length = 100 [*.{py,pyi}] diff --git a/.eslintrc.js b/.eslintrc.js index 18621ae5d5..da70e63123 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -155,7 +155,7 @@ module.exports = { }, }, { - files: ["**/*.ts"], + files: ["**/*.cts", "**/*.mts", "**/*.ts"], excludedFiles: "help-beta/**", extends: [ "plugin:@typescript-eslint/strict-type-checked",