feat(web): scaffold Next.js 14 app with Tailwind and next-intl
- App Router under src/app/[locale] with locale 'it' as default - next-intl middleware and getRequestConfig with setRequestLocale - Tailwind CSS with shared font variable and content from packages/ui - ESLint via @ketopath/eslint-config/nextjs, tsconfig via @ketopath/tsconfig/nextjs - Inter font, base layout, home page with translated copy and disclaimer Tweaks to shared eslint-config: - Disable consistent-type-imports for .cjs files (next parser is not @typescript-eslint) - Configure import resolver to discover tsconfig in apps/* and packages/* - Drop *.config.* ignore patterns (overrides handle them with env.node) Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
87ca5af765
commit
94eeb1d817
18 files changed
+249
-11
No files matched your search
@@ -18,6 +18,7 @@ module.exports = {
|
||||
'import/resolver': {
|
||||
typescript: {
|
||||
alwaysTryTypes: true,
|
||||
project: ['tsconfig.json', 'apps/*/tsconfig.json', 'packages/*/tsconfig.json'],
|
||||
},
|
||||
node: true,
|
||||
},
|
||||
@@ -48,18 +49,9 @@ module.exports = {
|
||||
env: { node: true },
|
||||
rules: {
|
||||
'@typescript-eslint/no-var-requires': 'off',
|
||||
'@typescript-eslint/consistent-type-imports': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
ignorePatterns: [
|
||||
'node_modules/',
|
||||
'dist/',
|
||||
'build/',
|
||||
'.next/',
|
||||
'out/',
|
||||
'coverage/',
|
||||
'*.config.js',
|
||||
'*.config.cjs',
|
||||
'*.config.mjs',
|
||||
],
|
||||
ignorePatterns: ['node_modules/', 'dist/', 'build/', '.next/', 'out/', 'coverage/'],
|
||||
};
|
||||
Reference in new issue
Block a user