--- source: crates/biome_js_analyze/tests/spec_tests.rs expression: invalid.js --- # Input ```jsx class A { constructor() { super() } } ``` # Diagnostics ``` invalid.js:3:9 parse/noSuperWithoutExtends ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ! super() is only valid in derived class constructors 1 │ class A { 2 │ constructor() { > 3 │ super() │ ^^^^^ 4 │ } 5 │ } ```