@liberfi.io/eslint-config 0.1.259 → 0.1.261

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @liberfi.io/eslint-config
2
2
 
3
+ ## 0.1.261
4
+
5
+ ### Patch Changes
6
+
7
+ - publish
8
+
9
+ ## 0.1.260
10
+
11
+ ### Patch Changes
12
+
13
+ - publish
14
+
3
15
  ## 0.1.259
4
16
 
5
17
  ### Patch Changes
package/index.mjs CHANGED
@@ -1,5 +1,6 @@
1
1
  import stylistic from "@stylistic/eslint-plugin";
2
2
  import eslintConfigPrettier from "eslint-config-prettier/flat";
3
+ import i18nextPlugin from "eslint-plugin-i18next";
3
4
  import importPlugin from "eslint-plugin-import";
4
5
  import monorepoCop from "eslint-plugin-monorepo-cop";
5
6
  import reactPlugin from "eslint-plugin-react";
@@ -107,6 +108,7 @@ export default defineConfig([
107
108
  // https://eslint.style/packages/default
108
109
  "@stylistic": stylistic,
109
110
  import: importPlugin,
111
+ i18next: i18nextPlugin,
110
112
  "monorepo-cop": monorepoCop,
111
113
  "react-hooks": reactHooks,
112
114
  "react-refresh": reactRefresh,
@@ -141,6 +143,7 @@ export default defineConfig([
141
143
  "react-hooks/rules-of-hooks": "warn",
142
144
  "react-hooks/exhaustive-deps": "warn",
143
145
  "import/no-duplicates": "warn",
146
+ "i18next/no-literal-string": ["error", { mode: "jsx-text-only" }],
144
147
 
145
148
  // https://github.com/ArnaudBarre/eslint-plugin-react-refresh?tab=readme-ov-file#without-config
146
149
  "react-refresh/only-export-components": "off",
@@ -164,6 +167,7 @@ export default defineConfig([
164
167
  },
165
168
  rules: {
166
169
  "@typescript-eslint/no-floating-promises": "off",
170
+ "i18next/no-literal-string": "off",
167
171
  },
168
172
  },
169
173
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@liberfi.io/eslint-config",
3
- "version": "0.1.259",
3
+ "version": "0.1.261",
4
4
  "main": "index.mjs",
5
5
  "module": "index.mjs",
6
6
  "license": "MIT",
@@ -14,6 +14,7 @@
14
14
  "eslint-config-prettier": "^10.1.8",
15
15
  "eslint-config-turbo": "^2.5.6",
16
16
  "eslint-plugin-import": "^2.31.0",
17
+ "eslint-plugin-i18next": "^6.1.2",
17
18
  "eslint-plugin-monorepo-cop": "^1.0.2",
18
19
  "eslint-plugin-react": "^7.37.5",
19
20
  "eslint-plugin-react-hooks": "^5.2.0",