Fix `Lint/Syntax` behavior when `Enabled: false` of `Lint` department by koic · Pull Request #11689 · rubocop/rubocop

Here's another fix I found in work on #11688. Ruby code has a syntax error and .rubocop.yml with Lint department is disabled: def foobar t = { a: "foo" # missing "," ...