Skip to content

Commit 26edaf0

Browse files
authored
Allow magic numbers in README.md (#46)
1 parent 6f71858 commit 26edaf0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.eslintrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,9 +319,14 @@ module.exports = {
319319
rules: {
320320
'no-undef': 0,
321321
'no-unused-vars': 0,
322+
322323
// Inline comments making code samples vertically shorter are useful
323324
'line-comment-position': 0,
324325
'no-inline-comments': 0,
326+
327+
// Using literal numbers is simpler in documentation examples
328+
'no-magic-numbers': 0,
329+
325330
strict: 0,
326331
'import/no-unresolved': 0,
327332
'node/no-missing-require': 0,

0 commit comments

Comments
 (0)