-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
36 lines (36 loc) · 899 Bytes
/
.eslintrc.json
File metadata and controls
36 lines (36 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
* ESLint Configuration
*
* This file configures linting rules for the project.
* Features:
* - Next.js core web vitals rules
* - Import organization and validation
* - TypeScript-aware import resolution
* - Tailwind CSS class name validation
* - Integration with Prettier for formatting
*
* Rules are configured to ensure code quality and consistency
* while preventing common errors and maintaining best practices.
*/
{
"extends": [
"next/core-web-vitals",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier",
"plugin:tailwindcss/recommended"
],
"plugins": ["tailwindcss"],
"rules": {
"tailwindcss/no-custom-classname": "off",
"tailwindcss/classnames-order": "off"
},
"settings": {
"import/resolver": {
"typescript": {
"alwaysTryTypes": true
}
}
},
"ignorePatterns": ["**/components/ui/**"]
}