Checks that an EditorConfig file has only one top-level declaration.