From 83191d394b24812d3d925e9c356c1ca57ba8635c Mon Sep 17 00:00:00 2001 From: Dustin Loring Date: Sun, 1 Dec 2024 18:42:44 -0500 Subject: [PATCH] new lint rules --- eslint.config.mjs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/eslint.config.mjs b/eslint.config.mjs index 160e5f3..bb7a5c6 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -4,7 +4,13 @@ import { getNamingConventionRule, tsFileExtensions } from '@blitz/eslint-plugin/ export default [ { - ignores: ['**/dist', '**/node_modules', '**/.wrangler', '**/bolt/build', '**/.history'], + ignores: [ + '**/dist', + '**/node_modules', + '**/.wrangler', + '**/bolt/build', + '**/.history', + ], }, ...blitzPlugin.configs.recommended(), { @@ -38,7 +44,7 @@ export default [ patterns: [ { group: ['../'], - message: `Relative imports are not allowed. Please use '~/' instead.`, + message: 'Relative imports are not allowed. Please use \'~/\' instead.', }, ], },