Skip to content

Commit

Permalink
Adjust jsdoc/tag-lines option
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Aug 18, 2023
1 parent 58dc043 commit 2c2af4c
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 127 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,10 @@ module.exports = {
"error",
"never",
{
noEndLines: true,
endLines: 0,
startLines: 1,
tags: {
example: { lines: "always" },
example: { lines: "never" },
},
},
],
Expand Down
1 change: 0 additions & 1 deletion src/compilerOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ export type StrictCompilerOption =
* isStrictCompilerOptionEnabled(optionsLenient, "noImplicitAny"); // true
* isStrictCompilerOptionEnabled(optionsLenient, "noImplicitThis"); // false
* ```
*
* @example
* ```ts
* const optionsStrict = {
Expand Down
10 changes: 0 additions & 10 deletions src/nodes/typeGuards/compound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ export type ConstAssertionIdentifier = ts.Identifier & {
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a {@link ConstAssertionExpression}.
*/
export function isConstAssertionExpression(
Expand All @@ -65,7 +64,6 @@ export function isConstAssertionExpression(
* // ...
* }
* ```
*
* @returns Whether the given node appears to be an `IterationStatement`.
*/
export function isIterationStatement(
Expand Down Expand Up @@ -95,7 +93,6 @@ export function isIterationStatement(
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a `JSDocNamespaceDeclaration`.
*/
export function isJSDocNamespaceDeclaration(
Expand All @@ -120,7 +117,6 @@ export function isJSDocNamespaceDeclaration(
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a `JsxTagNamePropertyAccess`.
*/
export function isJsxTagNamePropertyAccess(
Expand Down Expand Up @@ -154,7 +150,6 @@ export interface NamedDeclarationWithName extends ts.NamedDeclaration {
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a {@link NamedDeclarationWithName}.
*/
export function isNamedDeclarationWithName(
Expand All @@ -180,7 +175,6 @@ export function isNamedDeclarationWithName(
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a `NamespaceDeclaration`.
*/
export function isNamespaceDeclaration(
Expand Down Expand Up @@ -215,7 +209,6 @@ export type NumericOrStringLikeLiteral =
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a {@link NumericOrStringLikeLiteral}.
*/
export function isNumericOrStringLikeLiteral(
Expand Down Expand Up @@ -243,7 +236,6 @@ export function isNumericOrStringLikeLiteral(
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a `PropertyAccessEntityNameExpression`.
*/
export function isPropertyAccessEntityNameExpression(
Expand All @@ -268,7 +260,6 @@ export function isPropertyAccessEntityNameExpression(
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a `SuperElementAccessExpression`.
*/
export function isSuperElementAccessExpression(
Expand All @@ -291,7 +282,6 @@ export function isSuperElementAccessExpression(
* // ...
* }
* ```
*
* @returns Whether the given node appears to be a `SuperPropertyAccessExpression`.
*/
export function isSuperPropertyAccessExpression(
Expand Down
Loading

0 comments on commit 2c2af4c

Please sign in to comment.