Skip to content

Commit

Permalink
jsduck: Remove this->context tag preference (#288)
Browse files Browse the repository at this point in the history
'context' only exists as a custom tag in our repos, so rather
than codifying it here we can just rename the custom tag to
'this' downstream, making migration to JSDoc slightly easier.
  • Loading branch information
edg2s committed Jun 16, 2020
1 parent 321c83b commit 49be77e
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion jsduck.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"settings": {
"jsdoc": {
"tagNamePreference": {
"this": "context",
"alias": "alternateClassName",
"typedef": "type"
}
Expand Down
5 changes: 0 additions & 5 deletions test/fixtures/jsduck/invalid.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
( function () {

// eslint-disable-next-line jsdoc/check-tag-names
/**
* @this Foo
*/

// eslint-disable-next-line jsdoc/check-tag-names
/**
* @alias Bar
Expand Down
1 change: 0 additions & 1 deletion test/fixtures/jsduck/valid.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

// Some different aliases are used in jsduck:
/**
* @context {jQuery}
* @alternateClassName otherName
* @type {Object}
*/
Expand Down

0 comments on commit 49be77e

Please sign in to comment.