[lint addon] Support onUpdateLinting callback