refactor Component, JSHint options