Ensure that libraries are not explicitly titled. Dart provides automatic library titles, so avoid redundant naming of libraries in the code.
duplication-complexitystack-flutter+1
Low
DON'T make the parameter to == nullable
Ensure that parameters to `==` are non-nullable. Avoid using nullable parameters as they can introduce unexpected behavior and null reference errors.
error-handlingstack-flutter+1
Low
Element attribute order
Attributes within an element tag (including components) should be ordered consistently according to a predefined sequence (e.g., definitions, list rendering, conditionals, unique attributes, binding, events, content).
stack-vuestyle-conventions
Low
Element selectors with `scoped`
Avoid using element selectors (e.g., `button {... }`) directly within `<style scoped>`. Prefer class selectors.
performance-efficiencystack-vue+1
Low
Empty lines in component/instance options
Consider adding one empty line between multi-line properties (like complex `props`, `computed`, `methods`, `watch` objects) within the component options, especially in large components.
readability-refactorstack-vue+1
Low
Enable strict_types Mode for Type Checking
At the top of your PHP files (before any code), declare `declare(strict_types=1)`. This forces PHP to enforce the declared parameter and return types strictly, avoiding automatic type coercion.
stack-phpstyle-conventions
Low
Ensure Consistent Attribute Placement
Check if attributes are consistently placed in the code, maintaining uniform formatting across the project.
style-conventions
Low
Extract constants from hardcoded values
Move magic values (strings, thresholds, paths) to module-level constants with descriptive names.
maintainabilityreadability-refactor+2
Low
Extract magic numbers to named constants
Replace raw numeric/string literals used for dimensions, durations, and thresholds with named constants.
maintainabilityreadability-refactor+2
Low
File titles must be lowercase with underscores or dashes
Check if file titles follow the lowercase naming convention with underscores or dashes. This improves cross-platform compatibility and consistency.
style-conventionsstack-nodejs
Low
Fix file-to-class name mismatches
Keep public types in files with matching names (one top-level type per file) to improve navigation.
maintainabilitystyle-conventions
Low
Fix variable shadowing in nested loops
Use distinct variable names across scopes; never reuse the outer loop variable in inner loops or comprehensions.
readability-refactorstack-python+1
Low
Follow `snake_case` for Method and Variable Names
Verify that method and variable titles follow `snake_case` conventions, avoiding camelCase or PascalCase.
style-conventions
Low
Full-word component names
Component names should prefer full words over abbreviations.
readability-refactorstack-vue+1
Low
Helm charts must template resource names and labels consistently
Use template helpers to set metadata.name and labels (app.kubernetes.io/) consistently across templates; prohibit hardcoded mismatches.
infra-as-codestyle-conventions+1
Low
Improve field encapsulation with private visibility
Use private fields with accessors; expose the narrowest visibility that satisfies usage.
module-architecturestyle-conventions
Low
Initialize properties with default values
Set sensible defaults for properties/fields or enforce via constructors.
error-handlingstyle-conventions
Low
Initialize variables to prevent NameError
Always initialize variables before use and avoid conditionally-defined locals.
error-handlingstyle-conventions
Low
Keep Lines Under 80 Characters for Readability
Check if lines exceed 80 characters (excluding comments and docstrings). Long lines reduce readability. Recommend breaking lines or using line continuations for better formatting.
readability-refactorstack-python+1
Low
Limit Line Length to 100 Characters
Ensure that no line exceeds 100 characters in length to maintain readability.
style-conventions
Low
Limit Line Length to 120 Characters
Detect lines exceeding 120 characters and suggest breaking them into multiple lines for better readability.
readability-refactorstyle-conventions
Low
Limit lines to 80 characters
Ensure that lines do not exceed 80 characters. Long lines reduce readability, especially on smaller screens or during code reviews.
readability-refactorstyle-conventions
Low
Maintain Consistent Annotation Placement
Ensure that annotations are placed consistently before or after modifiers throughout the codebase.
style-conventions
Low
Make properties private for encapsulation
Default to private visibility; expose the minimal surface and prefer val with private set when mutation is needed.