Skip to content

Commit

Permalink
Allow magic numbers in README.md (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky authored Dec 13, 2020
1 parent 6f71858 commit 26edaf0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,14 @@ module.exports = {
rules: {
'no-undef': 0,
'no-unused-vars': 0,

// Inline comments making code samples vertically shorter are useful
'line-comment-position': 0,
'no-inline-comments': 0,

// Using literal numbers is simpler in documentation examples
'no-magic-numbers': 0,

strict: 0,
'import/no-unresolved': 0,
'node/no-missing-require': 0,
Expand Down

0 comments on commit 26edaf0

Please sign in to comment.