Skip to content

A local-first personal finance app

chore: Add a meta.name to the eslint plugin. (#6463)

Connor Shea3004b6fa6e43
diff --git a/.oxlintrc.json b/.oxlintrc.json
index 7a552fe36d..f85c25ccff 100644
--- a/.oxlintrc.json
+++ b/.oxlintrc.json
@@ -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`"
}
]
diff --git a/packages/eslint-plugin-actual/lib/index.js b/packages/eslint-plugin-actual/lib/index.js
index a314b12cbe..01928269d4 100644
--- a/packages/eslint-plugin-actual/lib/index.js
+++ b/packages/eslint-plugin-actual/lib/index.js
@@ -1,4 +1,7 @@
module.exports = {
+ meta: {
+ name: 'eslint-plugin-actual',
+ },
rules: {
'no-untranslated-strings': require('./rules/no-untranslated-strings'),
'prefer-trans-over-t': require('./rules/prefer-trans-over-t'),
diff --git a/upcoming-release-notes/6463.md b/upcoming-release-notes/6463.md
new file mode 100644
index 0000000000..1d672c0404
--- /dev/null
+++ b/upcoming-release-notes/6463.md
@@ -0,0 +1,6 @@
+---
+category: Maintenance
+authors: [connorshea]
+---
+
+Add a name to the local ESLint plugin.