Skip to content

Commit

Permalink
update ruling expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Kamushkin committed Sep 19, 2023
1 parent 39e5dc4 commit 7209ea8
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 281 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@
"file-for-rules:S6761.js": [
0
],
"file-for-rules:S6766.js": [
0
],
"file-for-rules:boundOrAssignedEvalOrArguments.js": [
0
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@
"file-for-rules:S6761.js": [
2
],
"file-for-rules:S6766.js": [
2
],
"file-for-rules:boundOrAssignedEvalOrArguments.js": [
2,
8
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"file-for-rules:S6766.js": [
5
]
}
5 changes: 0 additions & 5 deletions its/ruling/src/test/expected/js/fireact/javascript-S6766.json

This file was deleted.

This file was deleted.

59 changes: 0 additions & 59 deletions its/ruling/src/test/expected/ts/console/typescript-S6766.json

This file was deleted.

136 changes: 0 additions & 136 deletions its/ruling/src/test/expected/ts/desktop/typescript-S6766.json

This file was deleted.

75 changes: 0 additions & 75 deletions its/ruling/src/test/expected/ts/eigen/typescript-S6766.json

This file was deleted.

8 changes: 8 additions & 0 deletions its/sources/file-for-rules/S6766.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
function MyComponent(){
return (
<div>
Click here -> {/* Noncompliant: > can be escaped with &gt; */}
</div>
);
}

0 comments on commit 7209ea8

Please sign in to comment.