code: def DefaultRC():
      
      xdg = os.path.join(os.path.expanduser('~'), '.config')
      if 'XDG_CONFIG_DIR' in os.environ:
          xdg = os.environ['XDG_CONFIG_DIR']
      xdgfile = os.path.join(xdg, 'cmakelintrc')
      if os.path.exists(xdgfile):
          return xdgfile
      return os.path.join(os.path.expanduser('~'), '.cmakelintrc')
docs: Check XDG_CONFIG_DIR before ~/.cmakelintrc