Skip to content

Commit

Permalink
eslintrc.json - fixed eslint warnings for jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
lakesare committed Aug 26, 2019
1 parent 282f1db commit 50b2477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
"jsx-quotes": ["error", "prefer-double"],
"compat/compat": ["error"],

// "no-unused-vars": ["warn", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false }],

"jsdoc/check-alignment": ["warn"],
"jsdoc/check-examples": ["warn"],
"jsdoc/check-indentation": ["warn"],
// To allow indentation within comments, now eslint prohibits it altogether.
"jsdoc/check-indentation": ["off"],
"jsdoc/check-param-names": ["warn"],
"jsdoc/check-syntax": ["warn"],
"jsdoc/check-tag-names": ["warn"],
Expand Down
2 changes: 1 addition & 1 deletion packages/@uppy/tus/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ module.exports = class Tus extends Plugin {
* - When an upload is started or resumed, it needs to go through the `this.requests` queue. The `queuedRequest` variable must be updated so the other uses of it are valid.
* - Before replacing the `queuedRequest` variable, the previous `queuedRequest` must be aborted, else it will keep taking up a spot in the queue.
*
* @param {object} file for use with upload
* @param {Object} file for use with upload
* @param {integer} current file in a queue
* @param {integer} total number of files in a queue
* @returns {Promise}
Expand Down

0 comments on commit 50b2477

Please sign in to comment.