{"_id":"eslint-import-resolver-custom-alias","_rev":"1620320","name":"eslint-import-resolver-custom-alias","description":"Plugin for eslint-plugin-import to use custom alias.","dist-tags":{"latest":"1.3.2"},"maintainers":[{"name":"laysent","email":"laysent@hotmail.com"}],"time":{"modified":"2026-10-20T23:58:30.000Z","created":"2018-01-17T00:09:09.353Z","1.3.2":"2023-05-14T02:36:18.987Z","1.3.1":"2023-05-14T02:29:08.562Z","1.3.0":"2021-10-24T05:59:12.276Z","1.2.0":"2019-09-26T06:05:09.765Z","1.1.0":"2019-05-31T06:11:36.806Z","1.0.0":"2018-01-17T00:09:09.353Z"},"users":{},"author":{"name":"LaySent"},"repository":{"type":"git","url":"git+https://github.com/laysent/eslint-import-resolver-custom-alias.git"},"versions":{"1.3.2":{"name":"eslint-import-resolver-custom-alias","version":"1.3.2","description":"Plugin for eslint-plugin-import to use custom alias.","main":"index.js","scripts":{"test":"jasmine"},"keywords":["eslint-import-resolver","eslint-import-plugin","alias","resolver"],"repository":{"type":"git","url":"git+https://github.com/laysent/eslint-import-resolver-custom-alias.git"},"bugs":{"url":"https://github.com/laysent/eslint-import-resolver-custom-alias/issues"},"homepage":"https://github.com/laysent/eslint-import-resolver-custom-alias","author":{"name":"LaySent"},"license":"MIT","dependencies":{"glob-parent":"^6.0.2","resolve":"^1.22.2"},"devDependencies":{"jasmine":"^4.6.0"},"peerDependencies":{"eslint-plugin-import":">=2.2.0"},"gitHead":"d50882981b86e12a2152e82685af8058e64ab053","_id":"eslint-import-resolver-custom-alias@1.3.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-wBPcZA2k6/IXaT8FsLMyiyVSG6WVEuaYIAbeKLXeGwr523BmeB9lKAAoLJWSqp3txsnU4gpkgD2x1q6K8k0uDQ==","shasum":"e509097e87de7a10b8c205c24644c3eb3fdf03c4","tarball":"http://registry-npm.ywwl.com/eslint-import-resolver-custom-alias/download/eslint-import-resolver-custom-alias-1.3.2.tgz","fileCount":4,"unpackedSize":7510,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8K1ou7dYsIGIrRInMm+9Ibw4f7xT6LNX0hMt/Xb3zTAiA8GHg7Gy9lcDn286t4Xi//Hwy254v/t+wv62w4TObo/A=="}],"size":2924,"noattachment":false,"key":"/eslint-import-resolver-custom-alias/-/eslint-import-resolver-custom-alias-1.3.2.tgz"},"_npmUser":{"name":"laysent","email":"laysent@hotmail.com"},"directories":{},"maintainers":[{"name":"laysent","email":"laysent@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver-custom-alias_1.3.2_1684031778834_0.5785047489783073"},"_hasShrinkwrap":false,"publish_time":1684031778987,"_cnpm_publish_time":1684031778987},"1.3.1":{"name":"eslint-import-resolver-custom-alias","version":"1.3.1","description":"Plugin for eslint-plugin-import to use custom alias.","main":"index.js","scripts":{"test":"jasmine"},"keywords":["eslint-import-resolver","eslint-import-plugin","alias","resolver"],"repository":{"type":"git","url":"git+https://github.com/laysent/eslint-import-resolver-custom-alias.git"},"bugs":{"url":"https://github.com/laysent/eslint-import-resolver-custom-alias/issues"},"homepage":"https://github.com/laysent/eslint-import-resolver-custom-alias","author":{"name":"LaySent"},"license":"MIT","dependencies":{"glob-parent":"^6.0.2","resolve":"^1.22.2"},"devDependencies":{"jasmine":"^4.6.0"},"peerDependencies":{"eslint-plugin-import":">=2.2.0"},"gitHead":"ad311dddb66374752e3e0de22335ad46962c1a32","_id":"eslint-import-resolver-custom-alias@1.3.1","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-kBHQWCOufkCMeVBlAJgQTbBnow+Ubi9z9rVXXp0cMrgL1MFqoqxQRpV5H4+0jTptWdqsZN3gl/BSvzoBm229zQ==","shasum":"01948ec136f1b4b4cd987001e1acaaccf75e27f9","tarball":"http://registry-npm.ywwl.com/eslint-import-resolver-custom-alias/download/eslint-import-resolver-custom-alias-1.3.1.tgz","fileCount":34,"unpackedSize":132176,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaoOMF2vLC1VXhynzGWIaEGci5sdq58u0B4nAmSC3DCAIgdMrsJq7cPy5FhwPplL00qN3YNWCrR4+0qfie/JtnqKM="}],"size":33747,"noattachment":false,"key":"/eslint-import-resolver-custom-alias/-/eslint-import-resolver-custom-alias-1.3.1.tgz"},"_npmUser":{"name":"laysent","email":"laysent@hotmail.com"},"directories":{},"maintainers":[{"name":"laysent","email":"laysent@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver-custom-alias_1.3.1_1684031348271_0.4564319023550083"},"_hasShrinkwrap":false,"publish_time":1684031348562,"_cnpm_publish_time":1684031348562},"1.3.0":{"name":"eslint-import-resolver-custom-alias","version":"1.3.0","description":"Plugin for eslint-plugin-import to use custom alias.","main":"index.js","scripts":{"test":"jasmine"},"keywords":["eslint-import-resolver","eslint-import-plugin","alias","resolver"],"repository":{"type":"git","url":"git+https://github.com/laysent/eslint-import-resolver-custom-alias.git"},"bugs":{"url":"https://github.com/laysent/eslint-import-resolver-custom-alias/issues"},"homepage":"https://github.com/laysent/eslint-import-resolver-custom-alias","author":{"name":"LaySent"},"license":"MIT","dependencies":{"glob-parent":"^5.1.0","resolve":"^1.3.0"},"devDependencies":{"jasmine":"^2.8.0"},"peerDependencies":{"eslint-plugin-import":">=2.2.0"},"gitHead":"0068d3360b294ab68395dcab8243c4e9be56debf","_id":"eslint-import-resolver-custom-alias@1.3.0","_nodeVersion":"14.18.1","_npmVersion":"6.14.15","dist":{"integrity":"sha512-9rrpduF6/SZHFXrJgjeA+edJek6xulplYfo/UJvLPrY38O9UY00rAq76dHRnZ289yftc5NIfx3THi0IILRQ3dg==","shasum":"361858d18103edd19ac69284b95e276e91a3cf7c","tarball":"http://registry-npm.ywwl.com/eslint-import-resolver-custom-alias/download/eslint-import-resolver-custom-alias-1.3.0.tgz","fileCount":5,"unpackedSize":7560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2qIvCRA9TVsSAnZWagAAgVUP/A7ctNXIcP+Hz3t0nBsN\n1e5tZhWf0V8LhWEGCqdTgqEr+UVRZgifBYE5kvQAO/HR2OoBdkNR4w/I2KhU\nRtccYPdOKhyDv7E+LzbxAIlojRrrHe/nOYewPDcvC//RtbAdUxhhNhNZrR9s\nwldqk1sYAMSI1NI0K1O/Tx2G8s1oI4bttloklWf2t82QbDTgbR+N6gwt+b/0\nPpKpTtwQwEsINBfWtaNgyUPg2zG41IVWU7XXcuC2UZU0+lzNjOd22OgqVc+J\n5cf3K1hUhTWP/hGC03yPlHFeTB+uQtdJ1CiinlKpTaj3ovrg0WsRdp7cLi46\nWVJEZZFxdOcVmGslfOAEjsyuR4UUEqFBjblcXTJloosEzUKcMqoBYFNJKxfa\n2iopDiBOx2A3kiEWQR5yQOTYlDM3J/Nhlxenm+vV3Pc9L96mUGJxmT/AZtri\nPeO0MNEBFN3YDOdf0hsj6fHJtl+lD0F6aqrtaMqLo8GSn4enPQsPEAfJeLLp\nMCGjL2dnRs1MSpoR8/Syjkt57tkxWIJoAoFf4dcx3qjcdQmBChQdH9zlrn4y\nFh9HnWAqoazJY5sTosl6sY+aaofNduQQ+Ngo5Rddk38gSs98VWMWJQee77+S\n+GoRz08xbKrjmWWbUnPsyDuc+9vF3uFFuta0xYgIWk3p2kA3llAvN62wo6H1\nRyKX\r\n=8Ntw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpxPrw6lgyHubIezklj9BUTuGL6bpzKJgug1yehR6KDAIhANZsOGLJZS53K+ECCaTZoIErW0SgRYV1Ckd25G1vzWwQ"}],"size":3000,"noattachment":false,"key":"/eslint-import-resolver-custom-alias/-/eslint-import-resolver-custom-alias-1.3.0.tgz"},"_npmUser":{"name":"laysent","email":"laysent@hotmail.com"},"directories":{},"maintainers":[{"name":"laysent","email":"laysent@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver-custom-alias_1.3.0_1635055152141_0.005834733521743463"},"_hasShrinkwrap":false,"publish_time":1635055152276,"_cnpm_publish_time":1635055152276},"1.2.0":{"name":"eslint-import-resolver-custom-alias","version":"1.2.0","description":"Plugin for eslint-plugin-import to use custom alias.","main":"index.js","scripts":{"test":"jasmine"},"keywords":["eslint-import-resolver","eslint-import-plugin","alias","resolver"],"repository":{"type":"git","url":"git+https://github.com/laysent/eslint-import-resolver-custom-alias.git"},"bugs":{"url":"https://github.com/laysent/eslint-import-resolver-custom-alias/issues"},"homepage":"https://github.com/laysent/eslint-import-resolver-custom-alias","author":{"name":"LaySent"},"license":"MIT","dependencies":{"glob-parent":"^5.1.0","resolve":"^1.3.0"},"devDependencies":{"jasmine":"^2.8.0"},"peerDependencies":{"eslint-plugin-import":">=2.2.0"},"gitHead":"69a8452d7f7378ec1ffef5eb9c937bf2e4501f94","_id":"eslint-import-resolver-custom-alias@1.2.0","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-UF5+nNKZOKqQStYHKJYii2cK3HegH6ZgBZdSGXFX3+S0iqoLl/0Ln7eHZZR3kSI3Qb3CAzQyE+Zsjmhp91jipw==","shasum":"b1e596c3c5c818ae4fc75478ec25dbef5d70e96d","tarball":"http://registry-npm.ywwl.com/eslint-import-resolver-custom-alias/download/eslint-import-resolver-custom-alias-1.2.0.tgz","fileCount":7,"unpackedSize":12014,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjFUWCRA9TVsSAnZWagAA5hwP/RAHFZFUksFi3thYqaa4\nKnJCJuFg8+jaCFUkX1fbhM7ePC/6F5+uyLHrpTqFrAmMOS+j4jPXzK/SankD\ntO0w9dHEsERdWkMIWQcVxMrPHblNqzGLY0Agy6FSIDBTN5j4T22Y560lB0mP\nX1Qp+eMhBId2U2/Spnc1x3tquO326FKz/jy3441kTPbx3ozUAVd8i6Jm/RB7\nrbUmaKrn1zq5KbOyxbZjVt14UAXVtGHjcUd1AMRLgnBqrtRlvI5BNwM2NFcq\ngpIEQ7QsB2Vo+dM4FxubuDoNlkIwZxVbYXmJzwr9MNR4G6AsRTMEqQRqyigh\nJtldUiEpg1p29V6xMIjs2Ud5j2b4WKbh5NOOzUtqU4uEaDdoYfVVjrVMtk1Q\n5kXTEVooLv1KyH8ql69NKzoqboZi9QFnq8bOwTdk4c+2cTfitZJONoEdgVRm\nXJCyw205n3i7EOu9IOGSFF7oGjf5RXU/DrfdYQSsNCKOkIbOZ+zr+dGiykcb\nxrF5q/bvQC3JwoOyNgsLbhkId6fKvauF4bTaDwlFQM6NYVIJxM+PwNUr+6Zo\nDs+fdywyvLA7Sh1OqlJKy0N8q5zjcawBufpPtyOcklzaKgU7KcHOYJjt1hAG\nyehM4XOiOXOXmcP3/FxYDEQal+saoVZmQWwWrlOPEvsosD6VW/MYgP0tLPiz\nZ6xg\r\n=R0pj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBVNdDk37Hf6xaHtfel22Y1DNDYf3MvAryFOi048qZusAiAxJyAY73ykgQgalmfhT3p3Wx8Dd09krk6g8yBfW2+tDw=="}],"size":3885,"noattachment":false,"key":"/eslint-import-resolver-custom-alias/-/eslint-import-resolver-custom-alias-1.2.0.tgz"},"maintainers":[{"name":"laysent","email":"laysent@hotmail.com"}],"_npmUser":{"name":"laysent","email":"laysent@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver-custom-alias_1.2.0_1569477909624_0.9776467000855753"},"_hasShrinkwrap":false,"publish_time":1569477909765,"_cnpm_publish_time":1569477909765},"1.1.0":{"name":"eslint-import-resolver-custom-alias","version":"1.1.0","description":"Plugin for eslint-plugin-import to use custom alias.","main":"index.js","scripts":{"test":"jasmine"},"keywords":["eslint-import-resolver","eslint-import-plugin","alias","resolver"],"repository":{"type":"git","url":"git+https://github.com/laysent/eslint-import-resolver-custom-alias.git"},"bugs":{"url":"https://github.com/laysent/eslint-import-resolver-custom-alias/issues"},"homepage":"https://github.com/laysent/eslint-import-resolver-custom-alias","author":{"name":"LaySent"},"license":"MIT","dependencies":{"resolve":"^1.3.0"},"devDependencies":{"jasmine":"^2.8.0"},"peerDependencies":{"eslint-plugin-import":">=2.2.0"},"gitHead":"ef1ac40c28ee0f0cf79bcda88901a3cb7f07bab3","_id":"eslint-import-resolver-custom-alias@1.1.0","_nodeVersion":"12.3.1","_npmVersion":"6.9.0","dist":{"integrity":"sha512-l0TSDcTelWDjx6l845TbpJFuewCizVAsx2J+9f+tHsUBM3kX2pbbHjQLUwE5teNNXfmeV6oDamuq8MRdRcpCwg==","shasum":"43c906d2fcacd95c88a15a45e129a8dceeac6fc3","tarball":"http://registry-npm.ywwl.com/eslint-import-resolver-custom-alias/download/eslint-import-resolver-custom-alias-1.1.0.tgz","fileCount":7,"unpackedSize":9179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8MWZCRA9TVsSAnZWagAAqb8P/iMTEHnw2lYmNQsNFnIY\nO5mo7t1WIvk0V3G752XcuKJVmDExWgNqobfp4yhppZ4MPH2jZ0N8yZh5Cy8a\nGQ9Wc+mpy+ShbYKNsUAboFMqq1+u8lFQuOpm8126A53zhRsCOnmU56j0zmnv\n24weNbOmuOFxpw8GVkk5Ny6gec4/8m0vtRUOX0C6p5kRgdubdiC9bBozyFT9\noTWN5uOG4jCg9D6cTh8cjfnmi/YA1amlr5+WEMU5eUh5PHC6S7yKQUKSAfrP\nYwKfO/7pIu37jfJSJa6J+J8gE90K6VgtQEjgYUnv+BnpWKFlvTGbJ3odCRxU\n+ZcPNsIdH9iIQv15VgOtKj9CC8viiHFkOkrHb/1PfEuTw9d4QZDdlGIbzb1d\nwLT0GozrqmasyMD8d4dnUUujquu0/xEb3BDar06WuvU/joY0xttaiShlgANq\nDAclaiI7Yr3DmE4ygF+mEjtSl4FIiFHyvNto/HB+eOApi3FBf5llcrGMyOvO\nCDDD7u58Y0QATXe2X4LgCNvc++yQ9+WGEw9pTJ3gi4zjGO1lm3/dvU9t40PC\n9fJaBi2hjyiS0CCoq6DUH7kVDkaOSncCCsoKa1fGfMNoYDNu47olcyzp6EMe\nAItiKYp4UxA5F/UT2aHPEeUh02G7MqBxyPpKrE+V9VRpwMc+kiClvsnnyjjy\n/E/q\r\n=zWC4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC8uCi77F/QdOhzYKN9PxLJfiaRSDVb0xlk0baZkVjmNQIgYLmMJc9pPDvgmcL3PcYM+GKpitQ41qrQT3IeZlF8IWA="}],"size":3166,"noattachment":false,"key":"/eslint-import-resolver-custom-alias/-/eslint-import-resolver-custom-alias-1.1.0.tgz"},"maintainers":[{"name":"laysent","email":"laysent@hotmail.com"}],"_npmUser":{"name":"laysent","email":"laysent@hotmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver-custom-alias_1.1.0_1559283096609_0.5902915658882779"},"_hasShrinkwrap":false,"publish_time":1559283096806,"_cnpm_publish_time":1559283096806},"1.0.0":{"name":"eslint-import-resolver-custom-alias","version":"1.0.0","description":"Plugin for eslint-plugin-import to use custom alias.","main":"index.js","scripts":{"test":"jasmine"},"keywords":["eslint-import-resolver","eslint-import-plugin","alias","resolver"],"repository":{"type":"git","url":"git+https://github.com/laysent/eslint-import-resolver-custom-alias.git"},"bugs":{"url":"https://github.com/laysent/eslint-import-resolver-custom-alias/issues"},"homepage":"https://github.com/laysent/eslint-import-resolver-custom-alias","author":{"name":"LaySent"},"license":"MIT","dependencies":{"resolve":"^1.3.0"},"devDependencies":{"jasmine":"^2.8.0"},"peerDependencies":{"eslint-plugin-import":">=2.2.0"},"gitHead":"37edcb0bb206c5af98a4c631668417c1fba3e93c","_id":"eslint-import-resolver-custom-alias@1.0.0","_shasum":"081a04605baffb91358df82d5a7c37d73e9ed2b8","_from":".","_npmVersion":"3.8.6","_nodeVersion":"8.1.3","_npmUser":{"name":"laysent","email":"laysent@hotmail.com"},"dist":{"shasum":"081a04605baffb91358df82d5a7c37d73e9ed2b8","tarball":"http://registry-npm.ywwl.com/eslint-import-resolver-custom-alias/download/eslint-import-resolver-custom-alias-1.0.0.tgz","integrity":"sha512-Qr3iyUFo1A5Moz+ZDpBZOEy2w/FiplbSeUZmyxhcLuSvPKa7RGLziyp/mtSzkwchmdRJAdwU3AYx+sKY/vWNPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmOdzj4EqVYpeFSfWgysS5HdHugJGMNoFseWH4+r01iAIhAMia8vLjG4v+lbrOtO4w48NuxlqGW1CUZiJnUJUdQf7W"}],"size":3449,"noattachment":false,"key":"/eslint-import-resolver-custom-alias/-/eslint-import-resolver-custom-alias-1.0.0.tgz"},"maintainers":[{"name":"laysent","email":"laysent@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eslint-import-resolver-custom-alias-1.0.0.tgz_1516147749264_0.056467873044312"},"directories":{},"publish_time":1516147749353,"_cnpm_publish_time":1516147749353}},"readme":"[![Build Status](https://travis-ci.org/laysent/eslint-import-resolver-custom-alias.svg?branch=master)](https://travis-ci.org/laysent/eslint-import-resolver-custom-alias)\r\n\r\nThis plugin will help you configure [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import)\r\nto allow customized alias and extensions.\r\n\r\n## Installation\r\n\r\nTo install this plugin, run:\r\n\r\n```bash\r\nnpm install --dev eslint-import-resolver-custom-alias\r\n```\r\n\r\nor\r\n\r\n```bash\r\nyarn add --dev eslint-import-resolver-custom-alias\r\n```\r\n\r\n## Configuration\r\n\r\n```json\r\n{\r\n  \"settings\": {\r\n    \"import/resolver\": {\r\n      \"eslint-import-resolver-custom-alias\": {\r\n        \"alias\": {\r\n          \"src\": \"./src\"\r\n        },\r\n        \"extensions\": [\".js\", \".jsx\"],\r\n        \"packages\": [\r\n          \"packages/*\"\r\n        ]\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nHere, `alias` is a key-value pair, where `key` represents the alias, and `value` represents\r\nit's actual path. Relative path is allowed for `value`. When used, it's relative to project\r\nroot, where command line is running. (i.e. root path will be `process.cwd()`)\r\n\r\n`extensions` is an array of possible suffix. If not provided, default value will be `[\".js\"]`.\r\n\r\n`packages` is an optional configuration. When using lerna to manage packages and use eslint at\r\nroot folder, `packages` lets the resolver know where each package folder exist. This way, when\r\nresolving alias, relative path will be resolved based on current package, instead of root folder.\r\n\r\nConsider the file as an example:\r\n\r\n```jsx\r\nimport * as utils from '@/utils';\r\n```\r\n\r\nSuppose the above file locates at `./packages/subfolder/src/components/button.jsx` and command is\r\nrunning at root folder (i.e. `./`). If the resolver is configured the following way:\r\n\r\n```json\r\n{\r\n  \"settings\": {\r\n    \"import/resolver\": {\r\n      \"eslint-import-resolver-custom-alias\": {\r\n        \"alias\": {\r\n          \"@\": \"./src\"\r\n        },\r\n        \"extensions\": [\".js\", \".jsx\"],\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nResolver will tries to find file at `./src/utils` folder. However, with `packages` configured:\r\n\r\n```json\r\n{\r\n  \"settings\": {\r\n    \"import/resolver\": {\r\n      \"eslint-import-resolver-custom-alias\": {\r\n        \"alias\": {\r\n          \"@\": \"./src\"\r\n        },\r\n        \"extensions\": [\".js\", \".jsx\"],\r\n        \"packages\": [\r\n          \"packages/*\"\r\n        ]\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nResolver will try to find it at `./packages/subfolder/src/utils` folder instead.\r\n\r\nOne special alias is empty string `\"\"`. If configured, the resolver will try to\r\nadd prefix in front of the path before resolving. For example, with following configuration\r\n\r\n```json\r\n{\r\n  \"settings\": {\r\n    \"import/resolver\": {\r\n      \"eslint-import-resolver-custom-alias\": {\r\n        \"alias\": {\r\n          \"\": \"./src\"\r\n        },\r\n        \"extensions\": [\".js\", \".jsx\"],\r\n        \"packages\": [\r\n          \"packages/*\"\r\n        ]\r\n      }\r\n    }\r\n  }\r\n}\r\n```\r\n\r\nThe resolver will try to find the following import at path `./packages/subfolder/src/utils/helper`.\r\n\r\n```jsx\r\nimport * as helper from 'utils/helper';\r\n```","_attachments":{},"homepage":"https://github.com/laysent/eslint-import-resolver-custom-alias","bugs":{"url":"https://github.com/laysent/eslint-import-resolver-custom-alias/issues"},"license":"MIT"}