Skip to content

Commit

Permalink
Fix issue where eslint and prettier we're fighting over how comments …
Browse files Browse the repository at this point in the history
…are formatted.
  • Loading branch information
okaycj committed Sep 3, 2024
1 parent e6835e2 commit ade4e1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default [
},
rules: {
"jsdoc/tag-lines": "off",
"jsdoc/require-description-complete-sentence": "error",
"jsdoc/require-description": "error",
"jsdoc/require-hyphen-before-param-description": "error",
"jsdoc/require-jsdoc": [
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"build": "npm run build --workspaces",
"changeset": "changeset",
"clean": "trash \"./packages/**/dist\" \"./packages/**/coverage\" \"./packages/**/node_modules\" \"./node_modules\"",
"fix": "prettier './' -lw && npm run lint",
"fix": "prettier './' -lw && eslint './packages/**/src/**/*.ts' --fix",
"format": "prettier './' -c",
"lint": "eslint './packages/**/src/**/*.ts' --fix",
"lint": "eslint './packages/**/src/**/*.ts'",
"test": "npm test --workspaces"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/record/src/recorder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ export default class Recorder {
* @param {string} element - The HTML div element that should serve as the
* container for the webcam display.
* @param {CSSWidthHeight} [width='100%'] - The width of the video element
* containing the webcam feed, in CSS units (optional). Default is `'100%'`.
* containing the webcam feed, in CSS units (optional). Default is `'100%'`
* @param {CSSWidthHeight} [height='auto'] - The height of the video element
* containing the webcam feed, in CSS units (optional). Default is `'auto'`.
* containing the webcam feed, in CSS units (optional). Default is `'auto'`
*/
public insertWebcamFeed(
element: HTMLDivElement,
Expand All @@ -188,7 +188,7 @@ export default class Recorder {
* Perform a sound check on the audio input (microphone).
*
* @param {number} [minVol=this.minVolume] - Minimum mic activity needed to
* reach the mic check threshold (optional). Default is `this.minVolume`.
* reach the mic check threshold (optional). Default is `this.minVolume`
* @returns {Promise<void>} Promise that resolves when the mic check is
* complete because the audio stream has reached the required minimum
* level.
Expand Down

0 comments on commit ade4e1d

Please sign in to comment.