Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Patchwork PR#1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
patched-codes wants to merge1 commit intomaster
base:master
Choose a base branch
Loading
frompatchwork-master
Open
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletionsstyle.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
# Code Style Guidelines

## 1. Naming Conventions
- Use descriptive variable names
- Adhere to PEP 8 for Python and ES6 for JavaScript

## 2. Code Structure
- Follow the DRY (Don't Repeat Yourself) principle
- Keep functions short with single responsibilities
- Use const/let instead of var in JavaScript
- Ensure consistent use of semicolons in JavaScript
- Use JavaScript PropTypes for type checking

## 3. Documentation
- Maintain a comprehensive README.md with a table of contents for all files
- Use Markdown formatting for documentation

## 4. Error Handling
- Check for potential index out-of-range errors in lists

## 5. Performance
- Optimize database interactions with bulk updates
- Use Document Fragment to minimize DOM manipulation

## 6. Security
- Implement SQL parameterization to prevent SQL Injection
- Sanitize user inputs to prevent XSS vulnerabilities
- Use bcrypt for password hashing

## 7. Project Structure
- Organize files in appropriate directories (e.g., .github/workflows for CI/CD)
- List project dependencies in requirements.txt

## 8. Version Control and CI/CD
- Use GitHub for version control and pull requests
- Implement GitHub Actions for CI/CD

[8]ページ先頭

©2009-2025 Movatter.jp