def with_proselint_disabled(disable_linters)
      # Create the disabled linters JSON in ~/.proselintrc
      proselint_template = File.join(File.dirname(__FILE__), 'proselintrc')
      proselintJSON = JSON.parse(File.read(proselint_template))

      # Disable individual linters
      disable_linters.each do |linter|
        proselintJSON['checks'][linter] = false
      end

      # Re-save the new JSON into the home dir
      temp_proselint_rc_path = File.join(Dir.home, '.proselintrc')
      File.write(temp_proselint_rc_path, JSON.pretty_generate(proselintJSON))

      # Run the closure
      yield

      # Delete .proselintrc
      File.unlink temp_proselint_rc_path
    end
def with_proselint_disabled(disable_linters)
      # Create the disabled linters JSON in ~/.proselintrc
      proselint_template = File.join(File.dirname(__FILE__), 'proselintrc')
      proselintJSON = JSON.parse(File.read(proselint_template))

      # Disable individual linters
      disable_linters.each do |linter|
        proselintJSON['checks'][linter] = false
      end

      # Re-save the new JSON into the home dir
      temp_proselint_rc_path = File.join(Dir.home, '.proselintrc')
      File.write(temp_proselint_rc_path, JSON.pretty_generate(proselintJSON))

      # Run the closure
      yield

      # Delete .proselintrc
      File.unlink temp_proselint_rc_path
    end
Creates a temporary proselint settings file
 @return  void