Skip to content

Commit a03fddb

Browse files
committed
ESLint: disallow bidi
See https://github.com/lirantal/eslint-plugin-anti-trojan-source for details. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 6dc2ee2 commit a03fddb

File tree

3 files changed

+384
-0
lines changed

3 files changed

+384
-0
lines changed

.eslintrc.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"plugins": [
1616
"@typescript-eslint",
17+
"anti-trojan-source",
1718
"jest"
1819
],
1920
"rules": {
@@ -49,6 +50,7 @@
4950
"@typescript-eslint/semi": ["error", "never"],
5051
"@typescript-eslint/type-annotation-spacing": "error",
5152
"@typescript-eslint/unbound-method": "error",
53+
"anti-trojan-source/no-bidi": "error",
5254
"camelcase": "off",
5355
"eslint-comments/no-use": "off",
5456
"filenames/match-regex": [2, "^[a-z_]+(\\.test|\\.d)?$", true],

0 commit comments

Comments
 (0)