aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index dc80bcf..d2b68f5 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -10,7 +10,7 @@
"sourceType": "module",
"project": "./tsconfig.json"
},
- "plugins": ["@typescript-eslint", "deprecation"],
+ "plugins": ["@typescript-eslint", "deprecation", "node"],
"ignorePatterns": ["dist"],
"rules": {
"no-return-await": "off",
@@ -60,6 +60,7 @@
"@typescript-eslint/no-implied-eval": ["error"],
"deprecation/deprecation": "warn",
"@typescript-eslint/explicit-member-accessibility": ["warn", { "accessibility": "explicit" }],
- "@typescript-eslint/switch-exhaustiveness-check": "warn"
+ "@typescript-eslint/switch-exhaustiveness-check": "warn",
+ "node/file-extension-in-import": ["error", "always", { "tryExtensions": [".js", ".json"] }]
}
}