Skip to content

Commit

Permalink
✨ Enable max-depth linting
Browse files Browse the repository at this point in the history
Limit to 3 levels deep rather than the default of 4. Suggested by
Sven, approved/agreed by Sergei.
  • Loading branch information
sergei-maertens committed Jan 6, 2025
1 parent 2f600e6 commit a08b2cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ const base = [
name: "eslint/js",
...js.configs.recommended
},
{
name: "maykin/rules",
rules: {
"max-depth": ["error", 3], // stricter than the default of 4
},
},
];


Expand Down

0 comments on commit a08b2cd

Please sign in to comment.