UNPKG
@isentinel/eslint-plugin-comment-length
Version:
latest (2.2.0)
2.2.0
1.7.3
lasselupe33/eslint-plugin-comment-length
@isentinel/eslint-plugin-comment-length
/
src
/
rules
/
limit-single-line-comments
/
tests
/
valid.same-line.ts
2 lines
(1 loc)
•
117 B
text/typescript
View Raw
1
2
const
myVariable =
Math
.
max
(
0
,
Math
.
min
(
1
,
Math
.
random
() *
12345678
));
// clamps the external value between 0 and 1.