Updated lint middleware to adhere to new SPEC