Skip to content

meta: rules wishlist #4

@AlbertoCentonze

Description

@AlbertoCentonze
  • memory overexpansion
  • use @view on functions that don't modify the state
  • use @pure on a function that doesn't read the state
  • explicitly mark @internal functions as such
  • code complexity (limit cyclomatic complexity)
  • constants naming conventions
  • import - initialize/use - export should be sequential
  • unused imports
  • unused constants
  • unused functions from inline interface
  • unused vars
  • enforce decorator order
  • naming convention for internal functions
  • reminder to remove print statements
  • avoid magic numbers for array bounds, array accesses
  • enforce a variable containing semver being available in every module
  • no cross-module variable monkeypatching
  • memory variable proximity
  • var scope could be stricter
  • incomplete or missing natspec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions