Files
falah-mobile/eslint.config.mjs
T
FalahMobile d7b2d19359 fix: production readiness bugfix batch
- Security: JWT fallback removed, auth checks on unprotected endpoints
- Build: tsconfig excludes tests, ESLint flat config fixed
- Money: Cashout deducts balance in transaction, UI refreshes
- Core Chat: Nur page wired to send/receive messages
- Profile: Replaced hardcoded data with useAuth()
- Forum: Fixed thread detail query, premium check on posts
- Misc: /dua→/prayer, forum thread API handles ?id= param

QA gate: pending
2026-07-06 20:20:31 +08:00

21 lines
493 B
JavaScript

// ESLint flat config for FalahMobile
// Uses @eslint/js directly to avoid eslintrc circular dependency
import js from '@eslint/js'
import nextPlugin from '@next/eslint-plugin-next'
export default [
js.configs.recommended,
{
plugins: {
'@next/next': nextPlugin,
},
rules: {
...nextPlugin.configs.recommended.rules,
...nextPlugin.configs['core-web-vitals'].rules,
},
},
{
ignores: ['**/node_modules/**', '.next/**', '**/*.js', '**/*.mjs'],
},
]