question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ESLint: no-template-curly-in-string rule not found

See original GitHub issue

Just upgraded from 0.3.0-alpha(via git url; wanted jest early) to 0.3.0. Using Atom’s linter-eslint, I now see this ESLint warning in all of my files:

[ESLint] [Warning] [no-template-curly-in-string] Definition for rule 'no-template-curly-in-string' was not found at line 1 col 1 in src/whatever.js

This doesn’t show up in the output from npm start. I checked the README to see if I needed to install any new eslint plugins globally, but there aren’t any more there than what I already had.

linter-eslint is configured to use my global ESLint installation.

What do I need to do to get this rule installed?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
arnaud-dezandeecommented, Sep 2, 2016

I released fast-eslint v3.1.0. I bootstraped a pristine react app with the CLI to try things out. With npm@3 flattening it should work right away. With npm@2, you’ll probably have to install some deps globally since fast-eslint isn’t smart enough to add relative reference inside the lookup array for modules loading (it should add ./node_modules/react-scripts/node_modules to the array). Could be done though 😃

0reactions
gaearoncommented, Sep 2, 2016

Thanks for quick turnaround @Adezandee, it is very much appreciated.

Read more comments on GitHub >

github_iconTop Results From Across the Web

no-template-curly-in-string - ESLint - Pluggable JavaScript Linter
This rule aims to warn when a regular string contains what looks like a template literal placeholder. It will warn when it finds...
Read more >
Trying to disable no-template-curly-in-string ESlint rule on my ...
Try to update to react-scripts@4.0.0 because I found an issue in the previous version 3.X.X where the eslint was ignored. Update:
Read more >
eslint-plugin-no-template-curly-in-string-fix - npm
A replacement for the ESLint no-template-curly-in-string-fix rule that allows automatic fixing.. Latest version: 1.0.4, last published: a ...
Read more >
No-template-curly-in-string - ESLint - W3cubDocs
Rule Details. This rule aims to warn when a regular string contains what looks like a template literal placeholder. It will warn when...
Read more >
Disallow template literal placeholder syntax in regular strings ...
This rule aims to warn when a regular string contains what looks like a template literal placeholder. It will warn when it finds...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found