From 9ec77a5fcb8d83b6b3509a0cbb6f23a010b42cf0 Mon Sep 17 00:00:00 2001 From: Evan Mullins Date: Thu, 30 Nov 2023 15:56:34 -0500 Subject: [PATCH] lint update and add map for @modules alias --- .eslintrc.js | 1 + webpack.config.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index bfe0dce4a..bcf47e946 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -6,6 +6,7 @@ module.exports = { map: [ [ 'App', './src/app' ], [ 'Assets', './aseets' ], + [ '@modules', './vendor/newfold-labs' ], ], extensions: [ '.js', '.jsx', '.json' ], }, diff --git a/webpack.config.js b/webpack.config.js index e1ad2b303..5c173b6cb 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -11,7 +11,7 @@ const alias = { Assets: path.resolve( __dirname, '/assets/' ), Store: path.resolve( __dirname, '/src/app/data/store.js' ), Routes: path.resolve( __dirname, '/src/app/data/routes.js' ), - '@modules': path.resolve(__dirname, '/vendor/newfold-labs/'), + '@modules': path.resolve( __dirname, '/vendor/newfold-labs/' ), }; /** * Make most-common imports available globally to ease import debt.