docs(linter): add missing x-priority params to executor (#14401)

This commit is contained in:
Miroslav Jonaš 2023-01-17 14:52:20 +01:00 committed by GitHub
parent e0bd338225
commit fc9509d2cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 8 deletions

View File

@ -14,7 +14,8 @@
"type": "string", "type": "string",
"description": "The name of the ESLint configuration file.", "description": "The name of the ESLint configuration file.",
"x-completion-type": "file", "x-completion-type": "file",
"x-completion-glob": ".eslintrc?(.json)" "x-completion-glob": ".eslintrc?(.json)",
"x-priority": "important"
}, },
"lintFilePatterns": { "lintFilePatterns": {
"type": "array", "type": "array",
@ -45,7 +46,8 @@
] ]
}, },
{ "minLength": 1 } { "minLength": 1 }
] ],
"x-priority": "important"
}, },
"force": { "force": {
"type": "boolean", "type": "boolean",
@ -60,7 +62,8 @@
"fix": { "fix": {
"type": "boolean", "type": "boolean",
"description": "Fixes linting errors (may overwrite linted files).", "description": "Fixes linting errors (may overwrite linted files).",
"default": false "default": false,
"x-priority": "important"
}, },
"cache": { "cache": {
"type": "boolean", "type": "boolean",
@ -86,7 +89,8 @@
"quiet": { "quiet": {
"type": "boolean", "type": "boolean",
"description": "Report errors only - default: `false`.", "description": "Report errors only - default: `false`.",
"default": false "default": false,
"x-priority": "important"
}, },
"ignorePath": { "ignorePath": {
"type": "string", "type": "string",

View File

@ -11,7 +11,8 @@
"type": "string", "type": "string",
"description": "The name of the ESLint configuration file.", "description": "The name of the ESLint configuration file.",
"x-completion-type": "file", "x-completion-type": "file",
"x-completion-glob": ".eslintrc?(.json)" "x-completion-glob": ".eslintrc?(.json)",
"x-priority": "important"
}, },
"lintFilePatterns": { "lintFilePatterns": {
"type": "array", "type": "array",
@ -46,7 +47,8 @@
{ {
"minLength": 1 "minLength": 1
} }
] ],
"x-priority": "important"
}, },
"force": { "force": {
"type": "boolean", "type": "boolean",
@ -61,7 +63,8 @@
"fix": { "fix": {
"type": "boolean", "type": "boolean",
"description": "Fixes linting errors (may overwrite linted files).", "description": "Fixes linting errors (may overwrite linted files).",
"default": false "default": false,
"x-priority": "important"
}, },
"cache": { "cache": {
"type": "boolean", "type": "boolean",
@ -87,7 +90,8 @@
"quiet": { "quiet": {
"type": "boolean", "type": "boolean",
"description": "Report errors only - default: `false`.", "description": "Report errors only - default: `false`.",
"default": false "default": false,
"x-priority": "important"
}, },
"ignorePath": { "ignorePath": {
"type": "string", "type": "string",