mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
(nextjs) fixed eslint warnings
This commit is contained in:
parent
c469722a86
commit
e5f8d5a551
29 changed files with 56 additions and 59 deletions
|
@ -29,6 +29,29 @@ module.exports = {
|
|||
allowSeparatedGroups: false,
|
||||
},
|
||||
],
|
||||
'import/order': [
|
||||
'error',
|
||||
{
|
||||
groups: ['builtin', 'external', 'internal', 'sibling', 'type', 'object'],
|
||||
pathGroups: [
|
||||
{
|
||||
pattern: '~/**',
|
||||
group: 'internal',
|
||||
},
|
||||
{
|
||||
pattern: '../**',
|
||||
group: 'sibling',
|
||||
position: 'after',
|
||||
},
|
||||
{
|
||||
pattern: './**',
|
||||
group: 'sibling',
|
||||
position: 'after',
|
||||
},
|
||||
],
|
||||
'newlines-between': 'always',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
jest: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue