Flies in the face of military strategy; all eggs in one target/basket has never been a good idea. Dispersed with a variety of platforms would be more difficult to bring down.
There is credible evidence that FDR's administration wanted the warships in Pearl Harbor to ensure that the Japanese attack would not have been aborted. Yamamoto wanted to abort the attack when scout planes discovered all the carriers were missing.
It was a neat coincidence (or maybe not) that the carrier groups just happened to be out of base delivering reinforcement aircraft to Wake and Midway at the time of the attack. He was overruled by high command when it was reported that there was a plethora of battleship targets there