Skip to content

Commit

Permalink
Add rule S2004: Functions should not be nested too deeply (#4559)
Browse files Browse the repository at this point in the history
  • Loading branch information
yassin-kammoun-sonarsource authored Feb 9, 2024
1 parent 45729ba commit a8d3908
Show file tree
Hide file tree
Showing 61 changed files with 7,997 additions and 3 deletions.
1,645 changes: 1,645 additions & 0 deletions its/ruling/src/test/expected/jsts/Ghost/javascript-S2004.json

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions its/ruling/src/test/expected/jsts/Joust/javascript-S2004.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"Joust:gulpfile.js": [
131,
133,
210
]
}
27 changes: 27 additions & 0 deletions its/ruling/src/test/expected/jsts/Joust/typescript-S2004.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"Joust:ts/Launcher.tsx": [
318,
321,
327
],
"Joust:ts/components/EventLog.tsx": [
183
],
"Joust:ts/components/game/Player.tsx": [
67,
123
],
"Joust:ts/protocol/HSReplayDecoder.spec.ts": [
26,
37,
46,
59,
72,
87,
99,
110,
127,
149,
158
]
}
Loading

0 comments on commit a8d3908

Please sign in to comment.