mirror of
https://github.com/wesammustafa/opencode-primer.git
synced 2026-11-20 20:33:33 +00:00
chore(oss): add OSS infrastructure — CoC, security, contributing, CI
Community and contributor support:
- CONTRIBUTING.md: what we welcome, what we don't, style guide,
templates for MCP walkthroughs and specialized-agent prompts.
- CODE_OF_CONDUCT.md: Contributor Covenant 2.1.
- SECURITY.md: scope (this is a docs repo, not application code), how
to report a vulnerability in the example plugins or in misleading
documentation, where OpenCode-core bugs should go instead.
GitHub plumbing:
- .github/PULL_REQUEST_TEMPLATE.md: type, sources, hygiene checklist.
- .github/ISSUE_TEMPLATE/{bug_report,feature_request}.md and config.yml
that redirects OpenCode-tool issues to the right place.
- .github/workflows/lint-docs.yml: three jobs on every push and PR —
markdownlint, link check (with sensible ignore patterns for
../../issues, security advisories, localhost), codespell with a
project-specific ignore list.
Lint/style configs:
- .markdownlint.json + .markdownlintignore: ATX headings, ordered list
numbering, line-length and inline-HTML rules tuned for our content.
- .editorconfig: LF, UTF-8, 2-space indent, trim trailing whitespace
except in markdown (where trailing spaces are line breaks).
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"ignorePatterns": [
|
||||
{ "pattern": "^https://github.com/anomalyco/opencode/issues" },
|
||||
{ "pattern": "^https://github.com/anomalyco/opencode/security/advisories" },
|
||||
{ "pattern": "^https?://localhost" },
|
||||
{ "pattern": "^http://server.local" },
|
||||
{ "pattern": "^\\.\\./\\.\\./issues" },
|
||||
{ "pattern": "^\\.\\./\\.\\./discussions" }
|
||||
],
|
||||
"timeout": "15s",
|
||||
"retryOn429": true,
|
||||
"retryCount": 3,
|
||||
"fallbackRetryDelay": "30s",
|
||||
"aliveStatusCodes": [200, 206, 301, 302, 403, 429]
|
||||
}
|
||||
Reference in New Issue
Block a user