Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upindentation issue in template literals after upgrading to 11.0.0-beta.0 #1056
Comments
This comment has been minimized.
This comment has been minimized.
finnp
commented
Mar 24, 2018
|
Standard 11 seems to have problems with tagged template strings and indentation. Not sure what changed with eslint. I'll stay with 10 for now. |
This comment has been minimized.
This comment has been minimized.
ArmorDarks
commented
Mar 24, 2018
ArmorDarks
added a commit
to LotusTM/Kotsu
that referenced
this issue
Mar 24, 2018
This comment has been minimized.
This comment has been minimized.
lidel
commented
Apr 12, 2018
|
I see similar indentation problems with string interpolation and standard v11.0.1 run against this codebase.
index 3ebd809..a593fe2 100644
--- a/add-on/src/popup/page-action/header.js
+++ b/add-on/src/popup/page-action/header.js
@@ -10,12 +10,12 @@ module.exports = function header ({ isIpfsContext, pageActionTitle }) {
<div class="fade-in ph2 br2 br--top bg-light-gray bb b--black-20">
<h2 class="ma0 pt1 pb2 pl2 tl">
${logo({
- size: 20,
- path: '../../../icons',
- ipfsNodeType: 'external',
- isIpfsOnline: true,
- heartbeat: false
- })} <span class="pl1 f6 fw4 v-mid">${pageActionTitle || '…'}</span>
+ size: 20,
+ path: '../../../icons',
+ ipfsNodeType: 'external',
+ isIpfsOnline: true,
+ heartbeat: false
+ })} <span class="pl1 f6 fw4 v-mid">${pageActionTitle || '…'}</span>
</h2>
</div>
`Note how line with |
This comment has been minimized.
This comment has been minimized.
|
Wow, this is not good. Will look into fixing this for standard 12 |
feross
added this to the
standard v12 milestone
May 10, 2018
This comment has been minimized.
This comment has been minimized.
NathanielHill
commented
Jun 3, 2018
|
Same problem. In fact, |
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
Sep 1, 2018
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
Sep 1, 2018
This comment has been minimized.
This comment has been minimized.
Janpot
commented
Sep 1, 2018
|
This is kind of blocking me to move past v11. I'm not quite sure how this can be fixed. But maybe this issue should stay open? |
stale
bot
removed
the
stale
label
Sep 1, 2018
This comment has been minimized.
This comment has been minimized.
stale
bot
commented
Nov 30, 2018
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
stale
bot
added
the
stale
label
Nov 30, 2018
This comment has been minimized.
This comment has been minimized.
ArmorDarks
commented
Dec 3, 2018
|
Yeap, definitely stale... |
stale
bot
removed
the
stale
label
Dec 3, 2018
LinusU
added
the
stale
label
Dec 4, 2018
LinusU
closed this
Dec 4, 2018
This comment has been minimized.
This comment has been minimized.
ArmorDarks
commented
Dec 4, 2018
|
I wonder why was it closed? It is a critical bug. Or has it been fixed? |
This comment has been minimized.
This comment has been minimized.
|
I interpreted your comment to mean that it was fixed, I'd be happy to reopen if it's still a problem in Standard 12... |
This comment has been minimized.
This comment has been minimized.
ArmorDarks
commented
Dec 4, 2018
|
As far as I know, it wasn't fixed |
lock
bot
locked as resolved and limited conversation to collaborators
Mar 4, 2019
This comment has been minimized.
This comment has been minimized.
|
Sorry for the delay on this issue! Just tested on the latest version. This appears to be fixed. Lmk if that's not the case. |
standard
unlocked this conversation
Aug 12, 2019
This comment has been minimized.
This comment has been minimized.
|
Actually, I just tested with another code sample from this issue (#1056) and it seems it's still an issue. Let's move discussion to that issue. |


egorovli commentedFeb 2, 2018
Hi.
After upgrading to
11.0.0-beta.0started to experience weird indentation errors in CSS-in-JS (template literals) syntax. See screenshots attached.If I set indentation how it wants me to, it gets really weird:
Have to say that I had to upgrade to
11.0.0-beta.0because of this issue with babel-eslint: