summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2020-02-14 10:51:23 +0300
committerValentin Popov <info@valentineus.link>2020-02-14 10:51:23 +0300
commit601b3890646c21fd7764e88a362298eb7b3bbc2c (patch)
treeb651111c0b9c90fbc868c67eef7dd78ebb7f09a4 /src
parent658ca3ebba139f1901df3299aa0d6d7102672932 (diff)
downloadeslint-config-601b3890646c21fd7764e88a362298eb7b3bbc2c.tar.xz
eslint-config-601b3890646c21fd7764e88a362298eb7b3bbc2c.zip
feat(typescript): Rule "no-var-requires"
Signed-off-by: Valentin Popov <info@valentineus.link>
Diffstat (limited to 'src')
-rw-r--r--src/rules/typescript/default.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rules/typescript/default.json b/src/rules/typescript/default.json
index 631bdf2..39ea233 100644
--- a/src/rules/typescript/default.json
+++ b/src/rules/typescript/default.json
@@ -93,6 +93,9 @@
"@typescript-eslint/no-useless-constructor": [
"error"
],
+ "@typescript-eslint/no-var-requires": [
+ "error"
+ ],
"@typescript-eslint/quotes": [
"error",
"double",