This is because chlorine has a total of 7 valence electrons. So with the three bonding Flourine giving three valence electrons, there has to be 2 more lone pairs in order to give Chlorine 7 valence electrons total. Since there's two lone pairs ready to be donated, this makes Chlorine as a Lewis Base.