ESLint: no-template-curly-in-string rule not found
See original GitHub issueJust 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:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I released
fast-eslint
v3.1.0. I bootstraped a pristine react app with the CLI to try things out. Withnpm@3
flattening it should work right away. Withnpm@2
, you’ll probably have to install some deps globally sincefast-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 😃Thanks for quick turnaround @Adezandee, it is very much appreciated.