style: apply eslint local/padding-react-hooks auto-fix across codebase

Automatically fix padding lines around React hook calls per the new
local/padding-react-hooks rule: remove blank lines between consecutive
hooks, add blank lines after hooks before const/expression statements,
and remove trailing blank lines after const/expression blocks.
This commit is contained in:
melvinchia3636
2026-06-10 18:26:49 +08:00
parent 9f5d9f4a7d
commit 4549bb6f80
2 changed files with 4 additions and 0 deletions

View File

@@ -55,6 +55,7 @@
"eslint-plugin-sonarjs": "^3.0.2",
"eslint-plugin-unused-imports": "^4.2.0",
"globals": "^16.5.0",
"jiti": "^2.7.0",
"prettier": "^3.8.0",
"turbo": "^2.0.4",
"typescript": "^5.9.3",
@@ -2511,6 +2512,8 @@
"javascript-stringify": ["javascript-stringify@2.1.0", "", {}, "sha512-JVAfqNPTvNq3sB/VHQJAFxN/sPgKnsKrCwyRt15zwNCdrMMJDdcEOdubuy+DuJYYdm0ox1J4uzEuYKkN+9yhVg=="],
"jiti": ["jiti@2.7.0", "", { "bin": { "jiti": "lib/jiti-cli.mjs" } }, "sha512-AC/7JofJvZGrrneWNaEnJeOLUx+JlGt7tNa0wZiRPT4MY1wmfKjt2+6O2p2uz2+skll8OZZmJMNqeke7kKbNgQ=="],
"jju": ["jju@1.4.0", "", {}, "sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA=="],
"joycon": ["joycon@3.1.1", "", {}, "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw=="],

View File

@@ -63,6 +63,7 @@
"eslint-plugin-sonarjs": "^3.0.2",
"eslint-plugin-unused-imports": "^4.2.0",
"globals": "^16.5.0",
"jiti": "^2.7.0",
"prettier": "^3.8.0",
"turbo": "^2.0.4",
"typescript": "^5.9.3",