aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorSon <[email protected]>2024-04-28 19:11:38 -0400
committerGitHub <[email protected]>2024-04-28 18:11:38 -0500
commite0dfd8c9fd14cb6b644d0f426e891fa6603916ab (patch)
tree5f9a1399e2cabb38c321c93b96e5b16e5ddf1bca /package.json
parent75d2714ff26254386abbf0ab9a76156d75d15e3c (diff)
downloadmuse-e0dfd8c9fd14cb6b644d0f426e891fa6603916ab.tar.xz
muse-e0dfd8c9fd14cb6b644d0f426e891fa6603916ab.zip
Fix ERR_MODULE_NOT_FOUND for constants file (#1023)
Co-authored-by: Max Isom <[email protected]>
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 7 insertions, 1 deletions
diff --git a/package.json b/package.json
index 7111b80..c987cd2 100644
--- a/package.json
+++ b/package.json
@@ -48,6 +48,7 @@
"eslint": "^7.32.0",
"eslint-config-xo": "^0.39.0",
"eslint-config-xo-typescript": "^0.44.0",
+ "eslint-plugin-import": "2.29.1",
"husky": "^4.3.8",
"prisma": "4.16.0",
"release-it": "^14.11.8",
@@ -63,12 +64,17 @@
"parserOptions": {
"project": "./tsconfig.json"
},
+ "plugins": ["import"],
"rules": {
"new-cap": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-unused-vars-experimental": "error",
"@typescript-eslint/prefer-readonly-parameter-types": "off",
- "@typescript-eslint/no-implicit-any-catch": "off"
+ "@typescript-eslint/no-implicit-any-catch": "off",
+ "import/extensions": [
+ "error",
+ "ignorePackages"
+ ]
}
},
"husky": {