JoryHogeveen / view-admin-as

View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.

Home Page:https://wordpress.org/plugins/view-admin-as/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Configure CodeClimate

JoryHogeveen opened this issue · comments

  • Enable FIXME (no config)
  • Enable & Configure Duplication
  • Enable & Configure PHP Code Sniffer
    • Create separate config file like phpmd? (No support on CC, only local)
  • Enable PHP Mess Detector
    • Configure PHP Mess Detector: master/tests/phpmd.xml
    • dev/tests/phpmd.xml
      • Is NPath complexity of 200 too low?
        • Suppress docs added where needed
      • Is Cyclomatic complexity of 10 too low?
        • Suppress docs added where needed
  • Enable CSSLint
  • Enable ESLint (dev)
    • Configure ESLint dev/tests/.eslintrc
      • Yoda! :)
      • Is Cyclomatic complexity of 6 too low? (yes >> 12 is ok)
      • allow semicolon at the beginning (inline comment fix)