mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 10:55:34 +00:00
new lint rules
This commit is contained in:
parent
8514a3baaf
commit
83191d394b
@ -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.',
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user