Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Standardise concatenation and object keys #131

Merged

Conversation

EspadaV8
Copy link
Collaborator

Standardise some basic formatting:

  • string concatenation uses backticks
  • strings with double quotes have been replaced with single quotes
  • object keys only have quotes where required
  • default response codes are ordered numerically

@EspadaV8 EspadaV8 self-assigned this Feb 16, 2019
@EspadaV8 EspadaV8 requested a review from daffl February 16, 2019 12:16
Copy link
Member

@daffl daffl left a comment

Choose a reason for hiding this comment

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

Looks good. I wonder why it didn't get caught by the linter. I think the semistandard command in https://github.com/feathersjs-ecosystem/feathers-swagger/blob/master/package.json#L34 should be semistandard lib/**/*.js test/**/*.js examples/**/*.js --fix

Standardise some basic formatting:
- string concatenation uses backticks
- strings with double quotes have been replaced with single quotes
- object keys only have quotes where reqired
- default response codes are ordered numerically
@EspadaV8 EspadaV8 merged commit f01c4b2 into feathersjs-ecosystem:master Feb 17, 2019
@EspadaV8 EspadaV8 deleted the chore/standardise-code branch February 17, 2019 04:17
@EspadaV8
Copy link
Collaborator Author

Running the linter fixed the quote marks but none of the other changes. Are things like object key names and concatenation part of semistandard?

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

Successfully merging this pull request may close these issues.

None yet

2 participants