Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 140161

How to allow three or more asterisks in comments with eslint?

$
0
0

Eslint enforces the spaced-comment rule and while I'd like to keep it, I'd prefer to be able to have comments with three asterisks or more:

/*** Actions ***/

I modified the rule like this in my .eslintrc config file:

{
  ...
  "spaced-comment": ["error", "always", { "exceptions": ["*"] }]
  ...
}

But it only works for 2 asterisks.


Viewing all articles
Browse latest Browse all 140161

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>