File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -87,11 +87,20 @@ WordPress/src/main/java/org/wordpress/android/
8787- ** Checkstyle** : Java code style enforcement (` config/checkstyle.xml ` )
8888- ** Detekt** : Kotlin code analysis (` config/detekt/detekt.yml ` )
8989- ** Android Lint** : Built-in Android static analysis
90- - ** Line Length** : 120 characters max
90+ - ** Line Length** : 120 characters max - ** ALWAYS respect this limit in all code, comments, and strings **
9191- ** No FIXME** : Use TODO instead of FIXME in committed code
9292- ** No Deprecated APIs** : Avoid using deprecated methods and classes in new code
9393- ** No Reflection** : Avoid using reflection in new code; prefer type-safe alternatives
9494
95+ ### Code Style Guidelines
96+ - ** IMPORTANT** : Always keep lines at or under 120 characters
97+ - Break long lines by:
98+ - Splitting long comments across multiple lines
99+ - Breaking method chains at logical points
100+ - Splitting long strings with string concatenation or multiline strings
101+ - Breaking parameter lists across multiple lines
102+ - Using proper indentation for continuation lines
103+
95104### Development Workflow
96105- Default development flavor: ` jetpackWasabi ` (Jetpack app with beta suffix)
97106- Remote build cache available for faster builds (requires setup)
You can’t perform that action at this time.
0 commit comments