Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 285 Bytes

no-dead-reference.md

File metadata and controls

17 lines (12 loc) · 285 Bytes

no-dead-reference

A <reference> comment should go at the top of a file -- otherwise it is just a normal comment.

Bad:

console.log("Hello world!");
/// <reference types="jquery" />

Good:

/// <reference types="jquery" />
console.log("Hello world!");