# disallow block-scoped variable declarations (es/no-block-scoped-variables)

This rule reports ES2015 block-scoped variable declarations as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-block-scoped-variables: error */ let a = 1 const b = 2
Now loading...

# 📚 References