mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 22:14:26 +01:00
update
This commit is contained in:
32
.eslintrc.js
32
.eslintrc.js
@@ -34,6 +34,21 @@ module.exports = {
|
||||
},
|
||||
],
|
||||
'prettier/prettier': 'error',
|
||||
'no-console': ['off'],
|
||||
'no-alert': ['off'],
|
||||
'import/order': [
|
||||
'warn',
|
||||
{
|
||||
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
|
||||
'newlines-between': 'always',
|
||||
pathGroupsExcludedImportTypes: ['builtin'],
|
||||
alphabetize: { order: 'asc', caseInsensitive: true },
|
||||
pathGroups: [
|
||||
{ pattern: 'solid-js*', group: 'external', position: 'before' },
|
||||
{ pattern: '@/', group: 'internal', position: 'before' },
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
settings: {
|
||||
linkComponents: ['Link'],
|
||||
@@ -45,23 +60,6 @@ module.exports = {
|
||||
extensions: ['.ts', '.tsx'],
|
||||
},
|
||||
},
|
||||
'import/order': [
|
||||
'warn',
|
||||
{
|
||||
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index', 'object', 'type'],
|
||||
'newlines-between': 'always',
|
||||
pathGroupsExcludedImportTypes: ['builtin'],
|
||||
alphabetize: { order: 'asc', caseInsensitive: true },
|
||||
pathGroups: [
|
||||
{ pattern: 'src/types/**', group: 'internal', position: 'before' },
|
||||
{
|
||||
pattern: 'src/repositories/**',
|
||||
group: 'internal',
|
||||
position: 'before',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
tailwindcss: {
|
||||
whitelist: [
|
||||
'h-fill-available',
|
||||
|
||||
Reference in New Issue
Block a user