mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 06:03:01 -05:00
chore: Add a meta.name to the eslint plugin. (#6463)
* Add a name to the eslint plugin. * Add release note. * Also update the no-restricted-imports patterns in .oxlintrc.json. The glob library is different from what ESLint uses, so the globs need a bit of adjustment.
This commit is contained in:
@@ -314,7 +314,7 @@
|
||||
],
|
||||
"patterns": [
|
||||
{
|
||||
"group": ["*.api", "*.web", "*.electron"],
|
||||
"group": ["**/*.api", "**/*.web", "**/*.electron"],
|
||||
"message": "Don't directly reference imports from other platforms"
|
||||
},
|
||||
{
|
||||
@@ -328,7 +328,7 @@
|
||||
"message": "Please use themes instead of colors"
|
||||
},
|
||||
{
|
||||
"group": ["@actual-app/web/*"],
|
||||
"group": ["@actual-app/web/**/*"],
|
||||
"message": "Please do not import `@actual-app/web` in `loot-core`"
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user