Update linter.js

making mergeconfigs work with any number of configs.