Revert change from 908868a that caused linting.enabled pref to not be saved

This is a fix for #7144.