# disallow class declarations (es/no-classes)

This rule reports ES2015 class declarations as errors.

# Examples

⛔ Examples of incorrect code for this rule:

/*eslint es/no-classes: error */ class A {} const B = class {}
Now loading...

# 📚 References