persona-community-5/.pnpm-store/v3/files/e2/c023d6ec4890347e1d9fc44dad0001aeae4558f2dfdf888a348dfa821e567f0a15605640c7ee6a9c93c1bc114a634581d6c491ffb2a01161b2b9c5c2dd54bb
rdev-worker a1d0d1bf1c
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
build: /implement-feature community-ui --requirements 'Build the React commu...
2026-02-24 08:22:30 +00:00

211 lines
7.1 KiB
Plaintext

import type { PluginStyleguideConfig } from './types';
const minimal: PluginStyleguideConfig<'built-in'> = {
rules: {
struct: 'error',
},
oas2Rules: {
'boolean-parameter-prefixes': 'off',
'info-contact': 'off',
'info-license': 'off',
'info-license-url': 'off',
'info-license-strict': 'off',
'no-path-trailing-slash': 'warn',
'no-identical-paths': 'warn',
'no-ambiguous-paths': 'warn',
'no-invalid-schema-examples': 'off',
'no-invalid-parameter-examples': 'off',
'no-http-verbs-in-paths': 'off',
'no-enum-type-mismatch': 'warn',
'no-unresolved-refs': 'error',
'no-required-schema-properties-undefined': 'off',
'no-schema-type-mismatch': 'off',
'operation-summary': 'warn',
'operation-operationId': 'warn',
'operation-operationId-unique': 'warn',
'operation-operationId-url-safe': 'warn',
'operation-description': 'off',
'operation-2xx-response': 'warn',
'operation-4xx-response': 'off',
'operation-parameters-unique': 'warn',
'operation-tag-defined': 'off',
'operation-singular-tag': 'off',
'parameter-description': 'off',
'path-declaration-must-exist': 'warn',
'path-not-include-query': 'warn',
'path-parameters-defined': 'warn',
'paths-kebab-case': 'off',
'path-excludes-patterns': 'off',
'path-http-verbs-order': 'off',
'path-params-defined': 'off',
'path-segment-plural': 'off',
'required-string-property-missing-min-length': 'off',
'response-contains-header': 'off',
'request-mime-type': 'off',
'response-contains-property': 'off',
'response-mime-type': 'off',
'security-defined': 'warn',
'spec-strict-refs': 'off',
'scalar-property-missing-example': 'off',
'tag-description': 'warn',
'tags-alphabetical': 'off',
},
oas3_0Rules: {
'array-parameter-serialization': 'off',
'boolean-parameter-prefixes': 'off',
'component-name-unique': 'off',
'info-contact': 'off',
'info-license': 'off',
'info-license-url': 'off',
'info-license-strict': 'off',
'no-ambiguous-paths': 'warn',
'no-path-trailing-slash': 'warn',
'no-identical-paths': 'warn',
'no-invalid-schema-examples': 'off',
'no-invalid-parameter-examples': 'off',
'no-http-verbs-in-paths': 'off',
'no-enum-type-mismatch': 'warn',
'no-unresolved-refs': 'error',
'no-required-schema-properties-undefined': 'off',
'no-schema-type-mismatch': 'off',
'no-invalid-media-type-examples': {
severity: 'warn',
allowAdditionalProperties: false,
},
'no-server-example.com': 'warn',
'no-server-trailing-slash': 'error',
'no-empty-servers': 'warn',
'no-example-value-and-externalValue': 'warn',
'no-unused-components': 'warn',
'no-undefined-server-variable': 'warn',
'no-server-variables-empty-enum': 'error',
'operation-summary': 'warn',
'operation-operationId': 'warn',
'operation-operationId-unique': 'warn',
'operation-operationId-url-safe': 'warn',
'operation-description': 'off',
'operation-2xx-response': 'warn',
'operation-4xx-response': 'off',
'operation-4xx-problem-details-rfc7807': 'off',
'operation-parameters-unique': 'warn',
'operation-tag-defined': 'off',
'operation-singular-tag': 'off',
'parameter-description': 'off',
'path-declaration-must-exist': 'warn',
'path-not-include-query': 'warn',
'path-parameters-defined': 'warn',
'paths-kebab-case': 'off',
'path-excludes-patterns': 'off',
'path-http-verbs-order': 'off',
'path-params-defined': 'off',
'path-segment-plural': 'off',
'required-string-property-missing-min-length': 'off',
'response-contains-header': 'off',
'request-mime-type': 'off',
'response-contains-property': 'off',
'response-mime-type': 'off',
'security-defined': 'warn',
'spec-strict-refs': 'off',
'scalar-property-missing-example': 'off',
'spec-components-invalid-map-name': 'warn',
'tag-description': 'warn',
'tags-alphabetical': 'off',
},
oas3_1Rules: {
'array-parameter-serialization': 'off',
'boolean-parameter-prefixes': 'off',
'component-name-unique': 'off',
'info-contact': 'off',
'info-license': 'off',
'info-license-url': 'off',
'info-license-strict': 'off',
'no-path-trailing-slash': 'warn',
'no-identical-paths': 'warn',
'no-ambiguous-paths': 'warn',
'no-invalid-schema-examples': 'off',
'no-invalid-parameter-examples': 'off',
'no-http-verbs-in-paths': 'off',
'no-enum-type-mismatch': 'warn',
'no-unresolved-refs': 'error',
'no-required-schema-properties-undefined': 'off',
'no-schema-type-mismatch': 'off',
'no-invalid-media-type-examples': 'warn',
'no-server-example.com': 'warn',
'no-server-trailing-slash': 'error',
'no-empty-servers': 'warn',
'no-example-value-and-externalValue': 'warn',
'no-unused-components': 'warn',
'no-undefined-server-variable': 'warn',
'no-server-variables-empty-enum': 'error',
'operation-summary': 'warn',
'operation-operationId': 'warn',
'operation-operationId-unique': 'warn',
'operation-operationId-url-safe': 'warn',
'operation-description': 'off',
'operation-2xx-response': 'warn',
'operation-4xx-response': 'off',
'operation-4xx-problem-details-rfc7807': 'off',
'operation-parameters-unique': 'warn',
'operation-tag-defined': 'off',
'operation-singular-tag': 'off',
'parameter-description': 'off',
'path-declaration-must-exist': 'warn',
'path-not-include-query': 'warn',
'path-parameters-defined': 'warn',
'paths-kebab-case': 'off',
'path-excludes-patterns': 'off',
'path-http-verbs-order': 'off',
'path-params-defined': 'off',
'path-segment-plural': 'off',
'required-string-property-missing-min-length': 'off',
'response-contains-header': 'off',
'request-mime-type': 'off',
'response-contains-property': 'off',
'response-mime-type': 'off',
'security-defined': 'warn',
'spec-strict-refs': 'off',
'scalar-property-missing-example': 'off',
'spec-components-invalid-map-name': 'warn',
'tag-description': 'warn',
'tags-alphabetical': 'off',
},
async2Rules: {
'channels-kebab-case': 'off',
'info-contact': 'off',
'info-license-strict': 'off',
'no-channel-trailing-slash': 'off',
'operation-operationId': 'warn',
'tag-description': 'warn',
'tags-alphabetical': 'off',
},
async3Rules: {
'channels-kebab-case': 'off',
'info-contact': 'off',
'info-license-strict': 'off',
'no-channel-trailing-slash': 'off',
'operation-operationId': 'warn',
'tag-description': 'warn',
'tags-alphabetical': 'off',
},
arazzo1Rules: {
'criteria-unique': 'off',
'no-criteria-xpath': 'off',
'parameters-unique': 'off',
'requestBody-replacements-unique': 'off',
'sourceDescription-type': 'off',
'sourceDescriptions-not-empty': 'off',
'step-onSuccess-unique': 'off',
'step-onFailure-unique': 'off',
'stepId-unique': 'error',
'sourceDescription-name-unique': 'off',
'respect-supported-versions': 'off',
'workflowId-unique': 'error',
'workflow-dependsOn': 'off',
},
overlay1Rules: {
'info-contact': 'off',
},
};
export default minimal;