Refactor lib/__tests__/createLinter.test.js
#5232
Merged
lib/__tests__/createLinter.test.js
#5232