Files
wehub-resource-sync e4dcfc49aa
Tests / Import Check (Python 3.13) (push) Has been cancelled
Tests / Import Check (Python 3.14) (push) Has been cancelled
Tests / Python Tests (Python 3.11) (push) Has been cancelled
Tests / Python Tests (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.14) (push) Has been cancelled
Tests / Test Summary (push) Has been cancelled
Tests / Lint and Format (push) Has been cancelled
Tests / Web Node Tests (push) Has been cancelled
Tests / Import Check (Python 3.11) (push) Has been cancelled
Tests / Import Check (Python 3.12) (push) Has been cancelled
Tests / Python Tests (Python 3.13) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:00:43 +08:00

22 lines
486 B
JavaScript

import nextConfig from "eslint-config-next";
import i18nPlugin from "./eslint/i18n-plugin.mjs";
const config = [
...nextConfig,
{
files: ["app/**/*.{ts,tsx}", "components/**/*.{ts,tsx}"],
plugins: {
i18n: i18nPlugin,
},
rules: {
// During migration keep as warning; change to "error" once phase2/3 complete.
"i18n/no-literal-ui-text": "warn",
},
},
{
ignores: ["node_modules/**", ".next/**", "out/**"],
},
];
export default config;