summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ROADMAP.md2
-rw-r--r--src/rules/typescript/default.json7
2 files changed, 8 insertions, 1 deletions
diff --git a/ROADMAP.md b/ROADMAP.md
index 9cf6e62..f67a8fd 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -345,7 +345,7 @@
- [ ] "func-call-spacing"
- [ ] "generic-type-naming"
- [X] "indent"
-- [ ] "interface-name-prefix"
+- [X] "interface-name-prefix"
- [ ] "member-delimiter-style"
- [ ] "member-naming"
- [ ] "member-ordering"
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 206e1a9..5c2b40a 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -26,6 +26,13 @@
"outerIIFEBody": 1
}
],
+ "@typescript-eslint/interface-name-prefix": [
+ "error",
+ {
+ "allowUnderscorePrefix": false,
+ "prefixWithI": "always"
+ }
+ ],
"@typescript-eslint/quotes": [
"error",
"double",