eslint-plugin-angular
Version:
ESLint rules for AngularJS projects
8 lines (6 loc) • 318 B
JavaScript
// example - valid: true
$document[0].title = ""
// example - valid: false, errorMessage: "You should use the $document service instead of the default document object"
document.title
// example - valid: false, errorMessage: "You should use the $document service instead of the default document object"
document.title