Skip to content

Conversation

@actinium15
Copy link
Contributor

Fixes #631.

const pastedArray = pastedData ? pastedData.split(',').filter((v) => v.trim() !== '') : '';
if(pastedArray) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eslint was complaining with errors at [0] while performing yarn serve. patched the whitespaces up to silence it.

[0]

WARNING in ./src/components/tag-input.js
Module Warning (from ./node_modules/eslint-loader/dist/cjs.js):

/home/actinium15/repo/mrin9/RapiDoc/src/components/tag-input.js
  42:1  error  Trailing spaces not allowed                                                   no-trailing-spaces
  43:5  error  Expected space(s) after "if"                                                  keyword-spacing
  46:7  error  Closing curly brace does not appear on the same line as the subsequent block  brace-style

✖ 3 problems (3 errors, 0 warnings)
  3 errors and 0 warnings potentially fixable with the `--fix` option.

Copy link
Collaborator

@mrin9 mrin9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mrin9 mrin9 merged commit ef45922 into rapi-doc:master Jan 22, 2022
@mrin9
Copy link
Collaborator

mrin9 commented Jan 22, 2022

Thanks for this nice contribution !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support allowReserved keyword for query parameters

2 participants