2024-09-23 08:00:25 +00:00
|
|
|
{
|
2024-09-23 17:35:32 +00:00
|
|
|
"extends": [
|
2024-10-08 04:35:58 +00:00
|
|
|
"prettier",
|
2024-09-23 17:35:32 +00:00
|
|
|
"next/core-web-vitals",
|
|
|
|
"next/typescript",
|
|
|
|
"eslint:recommended",
|
2024-10-08 04:35:58 +00:00
|
|
|
"plugin:@typescript-eslint/recommended",
|
2024-09-23 17:35:32 +00:00
|
|
|
"plugin:react/recommended",
|
2024-10-06 03:27:55 +00:00
|
|
|
"plugin:@next/next/recommended"
|
2024-09-23 17:35:32 +00:00
|
|
|
],
|
2024-10-08 04:35:58 +00:00
|
|
|
"plugins": ["prettier", "eslint-plugin-import", "@typescript-eslint"],
|
2024-09-23 17:35:32 +00:00
|
|
|
"rules": {
|
2024-10-06 03:27:55 +00:00
|
|
|
"lines-between-class-members": [
|
|
|
|
"error",
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"exceptAfterSingleLine": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"import/order": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"alphabetize": {
|
|
|
|
"order": "asc",
|
|
|
|
"caseInsensitive": true
|
|
|
|
},
|
|
|
|
"newlines-between": "always"
|
|
|
|
}
|
|
|
|
], // Optionally, disable the default ESLint sort rule if you're using it
|
|
|
|
"no-duplicate-imports": "error",
|
2024-09-23 17:35:32 +00:00
|
|
|
"prettier/prettier": "error",
|
|
|
|
"react/no-unescaped-entities": "error",
|
2024-10-06 03:27:55 +00:00
|
|
|
"react/react-in-jsx-scope": "off",
|
|
|
|
"react/prop-types": [2, { "ignore": ["className", "position"] }],
|
2024-10-08 04:35:58 +00:00
|
|
|
"import/no-deprecated": "warn",
|
|
|
|
"no-unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": ["error", { "argsIgnorePattern": "^_" }]
|
2024-09-23 17:35:32 +00:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"settings": {
|
|
|
|
"react": {
|
|
|
|
"version": "detect"
|
|
|
|
}
|
|
|
|
}
|
2024-09-23 08:00:25 +00:00
|
|
|
}
|