Some checks failed
Lint / eslint (push) Failing after 1m32s
- Fix proxy.js: use utils/config/service-helpers (correct path for Homepage v1.7.0; utils/service-helpers does not exist) - Fix component.jsx: blank line between external and utils/ imports as required by Homepage ESLint import/order rule - Add .eslintrc.json mirroring Homepage's ESLint config - Add package.json with ESLint dev dependencies - Add Forgejo Actions workflow to lint on push/PR Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
32 lines
583 B
JSON
32 lines
583 B
JSON
{
|
|
"extends": [
|
|
"next/core-web-vitals",
|
|
"prettier",
|
|
"plugin:react-hooks/recommended"
|
|
],
|
|
"plugins": ["prettier"],
|
|
"rules": {
|
|
"import/no-cycle": ["error", { "maxDepth": 1 }],
|
|
"import/order": [
|
|
"error",
|
|
{
|
|
"newlines-between": "always"
|
|
}
|
|
],
|
|
"no-else-return": ["error", { "allowElseIf": true }]
|
|
},
|
|
"settings": {
|
|
"import/resolver": {
|
|
"node": {
|
|
"paths": ["src"]
|
|
}
|
|
}
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 6,
|
|
"sourceType": "module",
|
|
"ecmaFeatures": {
|
|
"modules": true
|
|
}
|
|
}
|
|
}
|