Enforce alignment of JSDoc comments
This CL adds the eslint-plugin-jsdoc plugin and enables just one rule,
`jsdoc/check-alignment`, which ensures that all the lines in a comment
are correctly aligned. For example:
```
/**
* foo
* bar
*/
```
Would fail the check and be corrected to:
```
/**
* foo
* bar
*/
```
DISABLE_THIRD_PARTY_CHECK=deliberate install + use of
eslint-plugin-jsdoc node_module
Bug: none
Change-Id: I969983cd550653654a334ede3409b8c850467245
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4110906
Commit-Queue: Andres Olivares <[email protected]>
Reviewed-by: Andres Olivares <[email protected]>
Auto-Submit: Jack Franklin <[email protected]>
Commit-Queue: Jack Franklin <[email protected]>
diff --git a/front_end/entrypoints/node_app/node_app.ts b/front_end/entrypoints/node_app/node_app.ts
index 7c4b849..f86f347 100644
--- a/front_end/entrypoints/node_app/node_app.ts
+++ b/front_end/entrypoints/node_app/node_app.ts
@@ -16,12 +16,12 @@
const UIStrings = {
/**
- *@description Text that refers to the network connection
- */
+ *@description Text that refers to the network connection
+ */
connection: 'Connection',
/**
- *@description A tag of Node.js Connection Panel that can be searched in the command menu
- */
+ *@description A tag of Node.js Connection Panel that can be searched in the command menu
+ */
node: 'node',
/**
*@description Command for showing the Connection tool
@@ -29,11 +29,11 @@
showConnection: 'Show Connection',
/**
*@description Title of the 'Node' tool in the Network Navigator View, which is part of the Sources tool
- */
+ */
networkTitle: 'Node',
/**
*@description Command for showing the 'Node' tool in the Network Navigator View, which is part of the Sources tool
- */
+ */
showNode: 'Show Node',
};