aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-13 21:29:42 +0300
committerValentin Popov <info@valentineus.link>2020-02-13 21:29:42 +0300
commit1b2f53b28a26d8919a6ffddfa12720c804782436 (patch)
treef44359c9f8d75f2221c571566f43bfb2630dff22 /src
parent184879f3611953de6e14514bd920542ca16c70b6 (diff)
downloadeslint-config-1b2f53b28a26d8919a6ffddfa12720c804782436.tar.xz
eslint-config-1b2f53b28a26d8919a6ffddfa12720c804782436.zip
feat(typescript): Rule "no-empty-interface"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 5c2b40a..5786671 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -33,6 +33,12 @@
"prefixWithI": "always"
}
],
+ "@typescript-eslint/no-empty-interface": [
+ "warn",
+ {
+ "allowSingleExtends": false
+ }
+ ],
"@typescript-eslint/quotes": [
"error",
"double",