We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ac05ff commit 2ab6854Copy full SHA for 2ab6854
src/index.ts
@@ -0,0 +1,35 @@
1
+/**
2
+ * ESLint Plugin for Lingui with TypeScript type-aware rules
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+
7
+// TODO: Import rules when implemented
8
+// import { noComplexExpressionsInMessage } from "./rules/no-complex-expressions-in-message.js";
9
10
+const plugin = {
11
+ meta: {
12
+ name: "eslint-plugin-lingui",
13
+ version: "1.0.0",
14
+ },
15
+ rules: {
16
+ // Rules will be added here as they are implemented
17
18
+ configs: {},
19
+};
20
21
+// Add self-reference for flat config
22
+const flatRecommended = {
23
+ plugins: {
24
+ lingui: plugin,
25
26
27
+ // Recommended rules will be added here
28
29
30
31
+plugin.configs = {
32
+ "flat/recommended": flatRecommended,
33
34
35
+export default plugin;
0 commit comments