[lint addon] Pass code instead of editor instance to lint providers