homepage-blocky-widget/.eslintrc.json
Alkim Ake Gozen a7fa4dbaf1
Some checks failed
Lint / eslint (push) Failing after 1m32s
fix: correct imports and add ESLint CI
- 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>
2026-05-21 13:34:33 +09:00

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
}
}
}