UNPKG

eslint-plugin-comment-length

Version:

An ESLint plugin that provides rules that limit the line length of your comments

2 lines (1 loc) 117 B
const myVariable = Math.max(0, Math.min(1, Math.random() * 12345678)); // clamps the external value between 0 and 1.