Thank you for your interest in contributing to PakCLI Table! We welcome bug reports, feature suggestions, and code contributions.
-
Clone the repository:
git clone https://github.com/pakcli/table.git cd table -
Install dependencies:
npm install
-
Development build & watch:
npm run dev
-
Production build:
npm run build
-
Typecheck & Lint:
npm run typecheck npm run lint
To adhere to the Official Obsidian Plugin Guidelines:
-
DOM and Styling:
- Do not assign inline styles directly via
element.style.<property>. - Use CSS classes defined in
styles.css/ SCSS or Obsidian native helper methodssetCssStyles()andsetCssProps(). - Use Obsidian helper methods (
createDiv(),createSpan(),createEl()) instead of rawdocument.createElement().
- Do not assign inline styles directly via
-
Obsidian APIs:
- Use Obsidian's official Vault API (
this.app.vault.read,cachedRead,modify,create) for file interactions. - Use window-scoped timers (
window.setTimeout,window.setInterval) orregisterInterval. - Never suppress linter rules with directive comments without explicit approval.
- Use Obsidian's official Vault API (
-
UI Text:
- Use sentence case for UI labels, settings, and notices (e.g. "Create new view" instead of "Create New View").
- Fork the repository and create your feature branch:
git checkout -b feat/my-feature. - Ensure that
npm run typecheckandnpm run buildsucceed without errors. - Commit your changes with clear, descriptive commit messages.
- Open a pull request against the
main-pakclibranch.
By contributing to PakCLI Table, you agree that your contributions will be licensed under the MIT License.