This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ignore node modules and dependencies | |
node_modules | |
package-lock.json | |
pnpm-lock.yaml | |
yarn.lock | |
# Ignore build and output directories | |
.next | |
out | |
dist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// Extending recommended ESLint rules for Next.js, TypeScript, and Prettier | |
"extends": [ | |
"plugin:@tanstack/query/recommended", // Enforces best practices for React Query | |
"next/typescript", // Includes Next.js and TypeScript-specific rules | |
"prettier", // Disables conflicting Prettier rules for better formatting | |
"next/core-web-vitals", // Ensures performance optimizations for Next.js apps | |
"next" // Next.js standard ESLint rules (must be extended last) | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the root .editorconfig file, meaning all settings here take precedence. | |
root = true | |
# Global settings for all file types | |
[*] | |
# Use UTF-8 encoding for better character support | |
charset = utf-8 | |
# Enforce LF (Line Feed) as the default line ending for cross-platform compatibility | |
end_of_line = lf |