Welcome to our coding universe! We believe in clean, efficient, and accessible code. Here are our guidelines for TSX/JSX:
We follow the Airbnb JavaScript/React Style Guide. It's a comprehensive guide that helps us write readable and maintainable code. Please familiarize yourself with it.
We use ESLint with plugins for React and TypeScript. It helps us catch errors and enforce our style guide. Please ensure your code is lint-free before pushing.
We believe in test-driven development. We use Jest for testing. Please write tests for your code and ensure they pass before pushing.
Clear, concise comments and documentation make our code understandable. We use JSDoc for documentation. Please document your code and functions.
Code reviews are mandatory for all pull requests. They help us catch issues and learn from each other. Please be respectful and constructive in your reviews.
We believe in building accessible software. We enforce accessibility best practices with jsx-a11y. Please ensure your code is accessible.
We strive for efficient code. Please consider performance optimization practices, like lazy loading and code splitting.
Security is paramount. Please follow security best practices, like avoiding eval() and enforcing Content Security Policy.
Happy coding!