Files
snippet-pastebin/next.config.js
johndoe6345789 d1f47830a8 fix: Resolve ESLint configuration and fix all linting errors
- Changed npm lint script from 'next lint' to direct ESLint invocation
- Added 'lint:fix' script for auto-fixing linting errors
- Fixed 25 ESLint errors across the codebase:
  - 8 auto-fixed with --fix flag
  - 17 manual fixes (empty function warnings, type definitions)

ESLint now properly validates TypeScript and React code without
Next.js config wrapper incompatibility.

Test Results:
-  npm run lint - No errors
-  npm test - All tests passing
-  npm run build - Clean build

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-01-20 19:17:17 +00:00

18 lines
339 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
sassOptions: {
includePaths: ['./src/styles'],
},
experimental: {
optimizePackageImports: ['@phosphor-icons/react'],
},
eslint: {
dirs: ['src', 'app', 'pages'],
},
typescript: {
tsconfigPath: './tsconfig.json',
},
}
module.exports = nextConfig