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

eslint cleanup fixes: operator-linebreak #86

Merged
merged 2 commits into from
Jul 18, 2019

Conversation

brodycj
Copy link
Contributor

@brodycj brodycj commented Jul 18, 2019

  • remove operator-linebreak exception from .eslintrc.yml
  • reformat ternary expresssions according to (semi)standard
  • reformat error message expressions according to (semi)standard

as done by the following command, with no operator-linebreak exception enabled:

npm run eslint -- --fix

I am breaking this proposal out of PR #82 due to its seemingly controversial nature.

I would really favor applying these fixes, which I think are consistent with both (semi)standard and Prettier styling.

- reformat ternary expresssions according to (semi)standard
- reformat error message expressions according to (semi)standard

as done by the following command with no operator-linebreak exception
enabled:

    npm run eslint -- --fix
@codecov-io
Copy link

Codecov Report

Merging #86 into master will not change coverage.
The diff coverage is 83.33%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #86   +/-   ##
=======================================
  Coverage   89.04%   89.04%           
=======================================
  Files          20       20           
  Lines        1826     1826           
  Branches      374      374           
=======================================
  Hits         1626     1626           
  Misses        200      200
Impacted Files Coverage Δ
src/PluginInfo/PluginInfo.js 83.41% <ø> (ø) ⬆️
src/ConfigChanges/ConfigFile.js 91.48% <100%> (ø) ⬆️
src/ConfigChanges/ConfigChanges.js 94.18% <66.66%> (ø) ⬆️
src/PlatformJson.js 82.69% <83.33%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ea24546...6ee9e35. Read the comment docs.

@brodycj brodycj merged commit 83954d6 into apache:master Jul 18, 2019
@brodycj brodycj deleted the operator-linebreak-cleanup branch July 18, 2019 22:47
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.

3 participants