Because the size of chlorine atoms is larger, in the presence of an additional electron, the electron-electron repulsion is less, and the amount of energy emitted is higher. Therefore, the electron affinity of chlorine is maximum.