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

Commitbc5479b

Browse files
author
patched.codes[bot]
committed
Patched /tmp/tmplg6aei3n/style.md
1 parent2441ace commitbc5479b

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

‎style.md‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#Code Style Guidelines
2+
3+
##1. Naming Conventions
4+
- Use descriptive variable names
5+
- Adhere to PEP 8 for Python and ES6 for JavaScript
6+
7+
##2. Code Structure
8+
- Follow the DRY (Don't Repeat Yourself) principle
9+
- Keep functions short with single responsibilities
10+
- Use const/let instead of var in JavaScript
11+
- Ensure consistent use of semicolons in JavaScript
12+
- Use JavaScript PropTypes for type checking
13+
14+
##3. Documentation
15+
- Maintain a comprehensive README.md with a table of contents for all files
16+
- Use Markdown formatting for documentation
17+
18+
##4. Error Handling
19+
- Check for potential index out-of-range errors in lists
20+
21+
##5. Performance
22+
- Optimize database interactions with bulk updates
23+
- Use Document Fragment to minimize DOM manipulation
24+
25+
##6. Security
26+
- Implement SQL parameterization to prevent SQL Injection
27+
- Sanitize user inputs to prevent XSS vulnerabilities
28+
- Use bcrypt for password hashing
29+
30+
##7. Project Structure
31+
- Organize files in appropriate directories (e.g., .github/workflows for CI/CD)
32+
- List project dependencies in requirements.txt
33+
34+
##8. Version Control and CI/CD
35+
- Use GitHub for version control and pull requests
36+
- Implement GitHub Actions for CI/CD

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp