This commit is contained in:
Shusui MOYATANI
2023-04-24 00:22:20 +09:00
parent e7432dad93
commit 7b27ed288f
51 changed files with 224 additions and 174 deletions

View File

@@ -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',