d7b2d19359
- 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
21 lines
493 B
JavaScript
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'],
|
|
},
|
|
]
|