Thank you for your interest in contributing to Linian! This document provides guidelines for contributing to the project.
- Node.js (v16 or higher)
- npm or yarn
- Obsidian (for testing)
-
Clone the repository
git clone https://github.com/your-username/linian.git cd linian -
Install dependencies
npm install
-
Set up environment variables
# For deployment, set your Obsidian plugins directory export OBSIDIAN_PLUGINS_DIR="$HOME/.obsidian/plugins"
-
Build the plugin
npm run build
-
Deploy for testing
npm run deploy
npm run build- Production buildnpm run dev- Development build with watch mode
- Follow the guidelines in
TESTING.md - Test with your own Linear workspace
- Ensure both Live Preview and Reading modes work
npm run deploy- Deploy to local Obsidiannpm run dev-deploy- Deploy development version
- Use TypeScript strict mode
- Follow existing code formatting
- Add comments for complex logic
- Update documentation when adding features
When reporting issues, please include:
- Obsidian version
- Plugin version
- Steps to reproduce
- Expected vs actual behavior
- Console errors (if any)
- Open an issue with the "enhancement" label
- Describe the feature and use case
- Consider backwards compatibility
- Never commit API keys or personal information
- Use environment variables for local paths
- Report security vulnerabilities privately
By contributing, you agree that your contributions will be licensed under the same license as the project.