Skip to content

Commit

Permalink
fix(eslint): disable annoying warning about max-lines rule for the …
Browse files Browse the repository at this point in the history
…`eslint` file

Error:
- .eslintrc.js
502:1 warning File has too many lines (503). Maximum allowed is 500 max-lines
✖ 1 problem (0 errors, 1 warning)

Solution:
- Add comment `/* eslint-disable max-lines */` at the top of the file to prevent ESLint warnings related to file length.
  • Loading branch information
beatrizsmerino committed Nov 10, 2024
1 parent 1e4500a commit 506419c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable max-lines */
module.exports = {
"env": {
"browser": true,
Expand Down

0 comments on commit 506419c

Please sign in to comment.