|
@@ -1,16 +1,25 @@ |
|
|
{ |
|
|
{ |
|
|
"extends": ["next/core-web-vitals", "plugin:@typescript-eslint/recommended", "prettier"], |
|
|
|
|
|
|
|
|
"extends": [ |
|
|
|
|
|
"next/core-web-vitals", |
|
|
|
|
|
"plugin:@typescript-eslint/recommended", |
|
|
|
|
|
"prettier" |
|
|
|
|
|
], |
|
|
"plugins": ["prettier", "@typescript-eslint"], |
|
|
"plugins": ["prettier", "@typescript-eslint"], |
|
|
|
|
|
"parser": "@typescript-eslint/parser", |
|
|
|
|
|
"parserOptions": { |
|
|
|
|
|
"ecmaVersion": 2020, |
|
|
|
|
|
"sourceType": "module" |
|
|
|
|
|
}, |
|
|
"rules": { |
|
|
"rules": { |
|
|
// "prettier/prettier": "warn", |
|
|
|
|
|
"prettier/prettier": [ |
|
|
"prettier/prettier": [ |
|
|
"error", |
|
|
|
|
|
|
|
|
"error", |
|
|
{ |
|
|
{ |
|
|
"endOfLine": "off" |
|
|
|
|
|
|
|
|
"endOfLine": "auto" |
|
|
} |
|
|
} |
|
|
], |
|
|
|
|
|
|
|
|
], |
|
|
"no-unused-vars": "off", |
|
|
"no-unused-vars": "off", |
|
|
// "@typescript-eslint/no-explicit-any": ["off"], |
|
|
|
|
|
"@typescript-eslint/no-unused-vars": "warn" |
|
|
|
|
|
|
|
|
"@typescript-eslint/no-unused-vars": "warn", |
|
|
|
|
|
"@typescript-eslint/no-explicit-any": "off", |
|
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off" // Optional: adjust based on your project's needs |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |