mirror of
https://github.com/zhigang1992/wallet.git
synced 2026-04-28 20:55:30 +08:00
chore: allow utils
This commit is contained in:
@@ -13,7 +13,10 @@ module.exports = {
|
||||
name: 'only-import-state-via-hooks',
|
||||
severity: 'error',
|
||||
from: { path: '^src/*', pathNot: ['^src/store/*'] },
|
||||
to: { path: ['^src/store/*'], pathNot: [`src.*\.hooks\.ts`, `src.*\.models\.ts`] },
|
||||
to: {
|
||||
path: ['^src/store/*'],
|
||||
pathNot: [`src.*\.hooks\.ts`, `src.*\.models\.ts`, `src.*\.utils\.ts`],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'ban-jotai-outside-store',
|
||||
|
||||
Reference in New Issue
Block a user