aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 21:26:55 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 21:26:55 +0300
commit184879f3611953de6e14514bd920542ca16c70b6 (patch)
treefb7aa3653fbc3f12af1d78ed21536cc73d50e3f5 /src
parent92c2dc54a9edac7f8d7fe00d274d42b799b33d99 (diff)
downloadeslint-config-184879f3611953de6e14514bd920542ca16c70b6.tar.xz
eslint-config-184879f3611953de6e14514bd920542ca16c70b6.zip
feat(typescript): Rule "interface-name-prefix"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json7
1 files changed, 7 insertions, 0 deletions
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",