Skip to content

Commit

Permalink
Add rule S2004: Functions should not be nested too deeply
Browse files Browse the repository at this point in the history
  • Loading branch information
yassin-kammoun-sonarsource committed Feb 8, 2024
1 parent 009b765 commit 1934fe2
Show file tree
Hide file tree
Showing 60 changed files with 7,996 additions and 2 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 1934fe2

Please sign in to comment.