From 8aec08ef68d8b285e52f17378400f2dc6ebb200e Mon Sep 17 00:00:00 2001 From: Chris Torres Date: Thu, 5 Dec 2024 20:57:29 -0800 Subject: [PATCH] add @ to linter --- .eslintrc.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index f40588d..c0eefff 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -18,6 +18,13 @@ module.exports = { alwaysTryTypes: true, project: './tsconfig.json', }, + alias: { + map: [ + ['@', './src'], + ['~', './'], + ], + extensions: ['.ts', '.tsx', '.js', '.jsx', '.json'], + }, }, }, };