mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-09 06:03:01 -05:00
Upgrade oxfmt/oxlint and migrate import sorting to oxfmt (#6719)
* Upgrade oxfmt/oxlint and migrate import sorting to oxfmt Upgrade oxfmt from 0.22.0 to 0.26.0 and oxlint from 1.38.0 to 1.41.0. Move import sorting configuration from oxlint (perfectionist/sort-imports) to oxfmt's new experimentalSortImports feature, which provides native import sorting support in the formatter. * Add release notes for maintenance updates including oxlint and oxfmt upgrades
This commit is contained in:
committed by
GitHub
parent
de0f4e9440
commit
176336e7f3
@@ -19,37 +19,6 @@
|
||||
},
|
||||
"rules": {
|
||||
// Import sorting
|
||||
// TODO replace once oxfmt supports this: https://github.com/oxc-project/oxc/issues/17076
|
||||
"perfectionist/sort-imports": [
|
||||
"warn",
|
||||
{
|
||||
"groups": [
|
||||
"react",
|
||||
"builtin",
|
||||
"external",
|
||||
"loot-core",
|
||||
"parent",
|
||||
"sibling",
|
||||
"index",
|
||||
"desktop-client"
|
||||
],
|
||||
"customGroups": [
|
||||
{
|
||||
"groupName": "react",
|
||||
"elementNamePattern": "^react(-.*)?$"
|
||||
},
|
||||
{
|
||||
"groupName": "loot-core",
|
||||
"elementNamePattern": "^loot-core"
|
||||
},
|
||||
{
|
||||
"groupName": "desktop-client",
|
||||
"elementNamePattern": "^@desktop-client"
|
||||
}
|
||||
],
|
||||
"newlinesBetween": "always"
|
||||
}
|
||||
],
|
||||
"perfectionist/sort-named-imports": [
|
||||
"warn",
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user