X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=package.json;h=1fdb3627e79f0f4e784d63b6d226fc6587c60d3d;hb=e9e1ccc9f8b4a6fc0d4d4ce54a710832227e3da0;hp=12a12552bac70baab680dc499443c44351a4dc78;hpb=74c0a62db7e22aadfb5671dc240afc01982a15d9;p=alttp.git diff --git a/package.json b/package.json index 12a1255..1fdb362 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "tabWidth": 4 } ], + "no-use-before-define": "error", "no-extra-parens": [ "warn", "all", @@ -66,13 +67,27 @@ ], "env": { "jest": true - } + }, + "settings": { + "import/resolver": { + "node": { + "paths": [ + "resources/js" + ] + } + } + } } ] }, "jest": { + "moduleDirectories": [ + "node_modules", + "resources/js" + ], "roots": [ - "/resources/js" + "/resources/js", + "/tests/js" ], "setupFilesAfterEnv": [ "/resources/js/setup-jest.js"