mirror of
https://github.com/modrinth/code.git
synced 2026-09-05 06:19:11 +00:00
feat: bump non-english rules to error
This commit is contained in:
@@ -322,7 +322,7 @@ export const projectDescriptionValidationRules = {
|
||||
},
|
||||
},
|
||||
'project-description-non-english': {
|
||||
severity: 'warning',
|
||||
severity: 'error',
|
||||
evaluate: (description) => {
|
||||
const blocks = extractDescriptionTextBlocks(description ?? '')
|
||||
const text = blocks.join(' ')
|
||||
|
||||
@@ -155,7 +155,7 @@ export const projectSummaryValidationRules = {
|
||||
},
|
||||
},
|
||||
'project-summary-non-english': {
|
||||
severity: 'warning',
|
||||
severity: 'error',
|
||||
evaluate: ({ summary }) => {
|
||||
const normalized = normalizeProjectFieldText(summary ?? '')
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user