-
Notifications
You must be signed in to change notification settings - Fork 110
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
Fix eslint for all files #755
base: master
Are you sure you want to change the base?
Conversation
Frankly, i was saying we should do this long time ago, but the concensus from TG was that it will mess with history making it harder to find the real "owner" of the changes thus "we" don't want this to happen... Did this change? I'm personally all for this, but we agreed differently... so... 🤷♂️ Are "we" really ok with it? 🤷♂️ |
Really, I didn't want to do it before. But it turned out that so much time has passed, and we still have a lot of code that does not conform to the style, which makes it difficult to understand and complicates the preparation of new changes. |
Cool, cool 👍 I'll just note that we should test this PR before merging as it's changing every single file (or like 99% of them). It should be all good... it's just eslint fix... but... it could also be, for some stupid reason, very bad 😬 |
Yes, it's true. For example, I had to add some eslint-disable-next-line in boot.js. After the fixes, the build completed successfully and I didn't notice any errors, but I might have missed something |
d86f409
to
ca0eed9
Compare
+fix `window.artifact.requestData`, replace `artifact.handleError` with `window.artifact.handleFailure`
+remove `debugger` keywords from code
+remove `debugger` keywords from code +remove erroneous tileParams value setting when returning window.getDataZoomTileParameters
+use logical OR instead of bitwise OR +fix incorrect check of empty this.excludedOrnaments
ca0eed9
to
506ab8a
Compare
🤖 Pull request artifacts
|
Fixed the style, in some cases minor refactoring or bug fixes have been made, in such cases I tried to mention it in the commit message