Due to eslint couldn't correctly resolve the context for the variables, two eslint rules are disabled for now.