diff --git a/common/tools/eslint-plugin-azure-sdk/src/configs/azure-sdk-customized.ts b/common/tools/eslint-plugin-azure-sdk/src/configs/azure-sdk-customized.ts index 0c013b77dd5..b0157903ce0 100644 --- a/common/tools/eslint-plugin-azure-sdk/src/configs/azure-sdk-customized.ts +++ b/common/tools/eslint-plugin-azure-sdk/src/configs/azure-sdk-customized.ts @@ -188,7 +188,7 @@ export default (parser: FlatConfig.Parser): FlatConfig.ConfigArray => [ }, { name: "@azure/azure-sdk/recommended-json", - files: ["*.json"], + files: ["*.json", "*/*/*.json"], ignores: ["**/*.md/*.json", "**/src/**/*.json", "**/test/**/*.json"], languageOptions: { parser, diff --git a/common/tools/eslint-plugin-azure-sdk/src/configs/markdown-customized.ts b/common/tools/eslint-plugin-azure-sdk/src/configs/markdown-customized.ts index 2ea50865dc4..cc6b72478f0 100644 --- a/common/tools/eslint-plugin-azure-sdk/src/configs/markdown-customized.ts +++ b/common/tools/eslint-plugin-azure-sdk/src/configs/markdown-customized.ts @@ -11,7 +11,7 @@ const markdownConfigs: FlatConfig.ConfigArray = [ }, { name: "markdown-js-azsdk-customized", - files: ["*.md/*.js"], + files: ["*.md/*.js", "*/*/*.md/*.js"], languageOptions: { parserOptions: { project: true, @@ -40,7 +40,7 @@ const markdownConfigs: FlatConfig.ConfigArray = [ }, { name: "markdown-ts-azsdk-customized", - files: ["*.md/*.ts"], + files: ["*.md/*.ts", "*/*/*.md/*.ts"], languageOptions: { parserOptions: { project: true,