new lint rules

This commit is contained in:
Dustin Loring 2024-12-01 18:42:44 -05:00
parent 8514a3baaf
commit 83191d394b

View File

@ -4,7 +4,13 @@ import { getNamingConventionRule, tsFileExtensions } from '@blitz/eslint-plugin/
export default [ export default [
{ {
ignores: ['**/dist', '**/node_modules', '**/.wrangler', '**/bolt/build', '**/.history'], ignores: [
'**/dist',
'**/node_modules',
'**/.wrangler',
'**/bolt/build',
'**/.history',
],
}, },
...blitzPlugin.configs.recommended(), ...blitzPlugin.configs.recommended(),
{ {
@ -38,7 +44,7 @@ export default [
patterns: [ patterns: [
{ {
group: ['../'], group: ['../'],
message: `Relative imports are not allowed. Please use '~/' instead.`, message: 'Relative imports are not allowed. Please use \'~/\' instead.',
}, },
], ],
}, },