|
| 1 | +{ |
| 2 | + "text_formatting": { |
| 3 | + "headings": { |
| 4 | + "case": "sentence", |
| 5 | + "files": ["**/*.md", "**/*.txt", "**/*.mdx"], |
| 6 | + "message": "Use sentence case (capitalize only the first word and proper nouns/acronyms)", |
| 7 | + "inline": true |
| 8 | + }, |
| 9 | + "patterns": ["**/*.md", "**/*.txt", "**/*.mdx"] |
| 10 | + }, |
| 11 | + "validation": { |
| 12 | + "jira_tickets": { |
| 13 | + "title": { |
| 14 | + "pattern": "^\\[?[A-Za-z0-9-]+\\]?\\s.+$", |
| 15 | + "max_length": 80, |
| 16 | + "message": "Jira ticket title must start with optional component in brackets and not exceed 80 characters" |
| 17 | + }, |
| 18 | + "required_sections": ["Acceptance case", "Overview"], |
| 19 | + "labels": { |
| 20 | + "a11y": "Accessibility issues", |
| 21 | + "API": "Component API changes", |
| 22 | + "docs": "Documentation updates", |
| 23 | + "engineering-processes": "Engineering workflow improvements", |
| 24 | + "feature": "New features", |
| 25 | + "hold": "Suspended tickets", |
| 26 | + "i18n": "Internationalization work", |
| 27 | + "iOS": "iOS-specific issues", |
| 28 | + "mobile": "Mobile platform issues", |
| 29 | + "necromancy": "Old backlog tickets (>2 years)", |
| 30 | + "product-processes": "Product team process improvements", |
| 31 | + "refactor": "Code restructuring", |
| 32 | + "research": "Investigation tasks", |
| 33 | + "RFC": "Request for Comments", |
| 34 | + "s2foundations": "S2 Foundations work", |
| 35 | + "spectrum2": "Spectrum 2 tasks", |
| 36 | + "team-processes": "Team workflow improvements", |
| 37 | + "testing": "Test implementation", |
| 38 | + "triage": "Needs assessment", |
| 39 | + "VoiceOver": "VoiceOver specific issues" |
| 40 | + }, |
| 41 | + "issue_types": ["Bug", "Epic", "Story", "Task"], |
| 42 | + "templates": { |
| 43 | + "bug": { |
| 44 | + "required_fields": [ |
| 45 | + "Expected behaviour", |
| 46 | + "Actual behaviour", |
| 47 | + "Reproduction steps", |
| 48 | + "Severity" |
| 49 | + ] |
| 50 | + }, |
| 51 | + "feature": { |
| 52 | + "required_fields": ["Overview", "Acceptance criteria"], |
| 53 | + "optional_fields": [ |
| 54 | + "Estimated internal impact", |
| 55 | + "Estimated external impact", |
| 56 | + "Anticipated reviewing audience", |
| 57 | + "Proposed solutions", |
| 58 | + "Supplementary documentation" |
| 59 | + ] |
| 60 | + } |
| 61 | + } |
| 62 | + } |
| 63 | + }, |
| 64 | + "jira_tickets": { |
| 65 | + "title_format": { |
| 66 | + "pattern": "^\\[?[A-Za-z0-9-]+\\]?\\s.+$", |
| 67 | + "max_length": 80 |
| 68 | + }, |
| 69 | + "required_sections": ["Acceptance case", "Overview"], |
| 70 | + "labels": { |
| 71 | + "a11y": "Accessibility issues", |
| 72 | + "API": "Component API changes", |
| 73 | + "docs": "Documentation updates", |
| 74 | + "engineering-processes": "Engineering workflow improvements", |
| 75 | + "feature": "New features", |
| 76 | + "hold": "Suspended tickets", |
| 77 | + "i18n": "Internationalization work", |
| 78 | + "iOS": "iOS-specific issues", |
| 79 | + "mobile": "Mobile platform issues", |
| 80 | + "necromancy": "Old backlog tickets (>2 years)", |
| 81 | + "product-processes": "Product team process improvements", |
| 82 | + "refactor": "Code restructuring", |
| 83 | + "research": "Investigation tasks", |
| 84 | + "RFC": "Request for Comments", |
| 85 | + "s2foundations": "S2 Foundations work", |
| 86 | + "spectrum2": "Spectrum 2 tasks", |
| 87 | + "team-processes": "Team workflow improvements", |
| 88 | + "testing": "Test implementation", |
| 89 | + "triage": "Needs assessment", |
| 90 | + "VoiceOver": "VoiceOver specific issues" |
| 91 | + }, |
| 92 | + "issue_types": ["Bug", "Epic", "Story", "Task"], |
| 93 | + "templates": { |
| 94 | + "bug": { |
| 95 | + "required_fields": [ |
| 96 | + "Expected behaviour", |
| 97 | + "Actual behaviour", |
| 98 | + "Reproduction steps", |
| 99 | + "Severity" |
| 100 | + ] |
| 101 | + }, |
| 102 | + "feature": { |
| 103 | + "required_fields": ["Overview", "Acceptance criteria"], |
| 104 | + "optional_fields": [ |
| 105 | + "Estimated internal impact", |
| 106 | + "Estimated external impact", |
| 107 | + "Anticipated reviewing audience", |
| 108 | + "Proposed solutions", |
| 109 | + "Supplementary documentation" |
| 110 | + ] |
| 111 | + } |
| 112 | + } |
| 113 | + }, |
| 114 | + "git": { |
| 115 | + "branchNameTemplate": "{username}/{type}-{description}{?-{issue}}", |
| 116 | + "types": [ |
| 117 | + "feat", |
| 118 | + "fix", |
| 119 | + "docs", |
| 120 | + "style", |
| 121 | + "refactor", |
| 122 | + "perf", |
| 123 | + "test", |
| 124 | + "build", |
| 125 | + "ci", |
| 126 | + "chore", |
| 127 | + "revert" |
| 128 | + ], |
| 129 | + "promptForIssueNumber": true, |
| 130 | + "allowEmptyIssueNumber": true, |
| 131 | + "transformDescription": "lowercase-dashed" |
| 132 | + }, |
| 133 | + "editor": { |
| 134 | + "formatOnSave": true, |
| 135 | + "defaultFormatter": "prettier", |
| 136 | + "tabSize": 4, |
| 137 | + "insertSpaces": true, |
| 138 | + "endOfLine": "auto", |
| 139 | + "charset": "utf-8" |
| 140 | + }, |
| 141 | + "language": { |
| 142 | + "typescript": { |
| 143 | + "formatOnSave": true, |
| 144 | + "organizeImportsOnSave": true, |
| 145 | + "addMissingImports": "prompt", |
| 146 | + "defaultFormatter": "eslint" |
| 147 | + }, |
| 148 | + "javascript": { |
| 149 | + "formatOnSave": true, |
| 150 | + "organizeImportsOnSave": true, |
| 151 | + "addMissingImports": "prompt", |
| 152 | + "moduleResolution": "auto", |
| 153 | + "snippets": { |
| 154 | + "newScript": { |
| 155 | + "detectModuleFormat": true, |
| 156 | + "preferESM": true |
| 157 | + } |
| 158 | + } |
| 159 | + }, |
| 160 | + "css": { |
| 161 | + "formatOnSave": true, |
| 162 | + "defaultFormatter": "stylelint" |
| 163 | + } |
| 164 | + }, |
| 165 | + "terminal": { |
| 166 | + "defaultProfile": "${os.shell}", |
| 167 | + "integrated": { |
| 168 | + "fontFamily": "${os.monospace}", |
| 169 | + "fontSize": 12, |
| 170 | + "shell": { |
| 171 | + "windows": "powershell.exe", |
| 172 | + "linux": "bash", |
| 173 | + "osx": "bash" |
| 174 | + } |
| 175 | + } |
| 176 | + }, |
| 177 | + "search": { |
| 178 | + "exclude": { |
| 179 | + "**/node_modules": true, |
| 180 | + "**/dist": true, |
| 181 | + "**/.git": true, |
| 182 | + "**/.vs": true, |
| 183 | + "**/.idea": true, |
| 184 | + "**/*.css.js": true, |
| 185 | + "**/*.css.ts": true, |
| 186 | + "**/*.d.ts": true, |
| 187 | + "**/coverage": true, |
| 188 | + "**/.wireit": true, |
| 189 | + "**/*.tsbuildinfo": true, |
| 190 | + "**/custom-elements.json": true, |
| 191 | + "**/test/benchmark/results": true, |
| 192 | + "**/storybook-static": true, |
| 193 | + "**/*.min.*": true, |
| 194 | + "**/*.map": true |
| 195 | + }, |
| 196 | + "useGitIgnore": true, |
| 197 | + "followSymlinks": false |
| 198 | + } |
| 199 | +} |
0 commit comments