You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declareclassSomeClass{// Not ok:constructor(/** Some doc */param: number,);// Not ok:method(/** Some doc */param: number,): void;// Ok:/** Some doc */prop: number;}// Not ok:typeSomeFunctionAlias=/** * @param param - Some doc. */(param: number)=>void;// Not ok:typeSomeFunctionAlias2=(/** * @param param - Some doc. */param: number)=>void;
Environment
Node version: v20.15.0
ESLint version v9.26.0
eslint-plugin-jsdoc version: ^50.6.11
Expected behavior
I expected there to be a configuration option to be able to avoid having to add newlines before all of the places linted in that snippet.
Actual behavior
The rule requires adding a newline but this causes conflicts with Prettier. Subjectively I also think it looks ugly.
The text was updated successfully, but these errors were encountered:
ESLint Config
ESLint sample
Environment
eslint-plugin-jsdoc
version: ^50.6.11Expected behavior
I expected there to be a configuration option to be able to avoid having to add newlines before all of the places linted in that snippet.
Actual behavior
The rule requires adding a newline but this causes conflicts with Prettier. Subjectively I also think it looks ugly.
The text was updated successfully, but these errors were encountered: