- Report Card Generator: Professional report cards with PDF export - Subject grades table with competency levels - Competency radar chart, teacher comments - Template management, batch generation - Status workflow: draft → review → published → archived - Seating Chart View: Visual classroom layout - Grid-based classroom with desk positions - Multiple layout templates (rows, groups, U-shape, circle) - Click-to-assign student placement - Randomize and smart arrange features - Student info popover - School Library View: Book lending system - Book catalog with search and filter - Checkout system with due dates and renewals - Overdue tracking with notifications - Reservation queue system - Statistics dashboard with charts - Enhanced Parent Portal: Comprehensive dashboard - Child overview with multiple children selector - Academic progress with competency radar chart - Attendance & illness with approval - Communication, schedule, and reports tabs - Bug fixes: i18n breadcrumb keys for new views - Styling: Gradient headers, animations, hover effects across all new views - 200+ i18n keys added, 15+ API routes, 3+ Prisma models
54 lines
1.7 KiB
JavaScript
Executable File
54 lines
1.7 KiB
JavaScript
Executable File
import nextCoreWebVitals from "eslint-config-next/core-web-vitals";
|
|
import nextTypescript from "eslint-config-next/typescript";
|
|
import { dirname } from "path";
|
|
import { fileURLToPath } from "url";
|
|
|
|
const __filename = fileURLToPath(import.meta.url);
|
|
const __dirname = dirname(__filename);
|
|
|
|
const eslintConfig = [...nextCoreWebVitals, ...nextTypescript, {
|
|
rules: {
|
|
// TypeScript rules
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
"@typescript-eslint/prefer-as-const": "off",
|
|
"@typescript-eslint/no-unused-disable-directive": "off",
|
|
|
|
// React rules
|
|
"react-hooks/exhaustive-deps": "off",
|
|
"react-hooks/purity": "off",
|
|
"react-hooks/set-state-in-effect": "off",
|
|
"react-hooks/preserve-manual-memoization": "off",
|
|
"react-hooks/immutability": "off",
|
|
"react/no-unescaped-entities": "off",
|
|
"react/display-name": "off",
|
|
"react/prop-types": "off",
|
|
"react-compiler/react-compiler": "off",
|
|
|
|
// Next.js rules
|
|
"@next/next/no-img-element": "off",
|
|
"@next/next/no-html-link-for-pages": "off",
|
|
|
|
// General JavaScript rules
|
|
"prefer-const": "off",
|
|
"no-unused-vars": "off",
|
|
"no-console": "off",
|
|
"no-debugger": "off",
|
|
"no-empty": "off",
|
|
"no-irregular-whitespace": "off",
|
|
"no-case-declarations": "off",
|
|
"no-fallthrough": "off",
|
|
"no-mixed-spaces-and-tabs": "off",
|
|
"no-redeclare": "off",
|
|
"no-undef": "off",
|
|
"no-unreachable": "off",
|
|
"no-useless-escape": "off",
|
|
},
|
|
}, {
|
|
ignores: ["node_modules/**", ".next/**", "out/**", "build/**", "next-env.d.ts", "examples/**", "skills"]
|
|
}];
|
|
|
|
export default eslintConfig;
|