add patterns for json and source blocks in markdown
because in flat config, the path is resolved relative to the config file. The added patterns are for when the central flat config is used.
This commit is contained in:
Родитель
d86ec0cddc
Коммит
1764824335
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче