feat: Replace eslint => oxlint + oxfmt
This commit is contained in:
25
wp-content/themes/moonshine/.oxfmtrc.json
Normal file
25
wp-content/themes/moonshine/.oxfmtrc.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"arrowParens": "always",
|
||||
"indentStyle": "space",
|
||||
"indentWidth": 2,
|
||||
"quoteStyle": "double",
|
||||
"semi": true,
|
||||
"trailingComma": "es5",
|
||||
"experimentalSortImports": {
|
||||
"groups": [
|
||||
["side-effect"],
|
||||
["builtin"],
|
||||
["external", "type-external"],
|
||||
["internal", "type-internal"],
|
||||
["parent", "type-parent"],
|
||||
["sibling", "type-sibling"],
|
||||
["index", "type-index"]
|
||||
]
|
||||
},
|
||||
"experimentalTailwindcss": {
|
||||
"stylesheet": "./app/assets/css/_main.css",
|
||||
"attributes": ["class", "className"],
|
||||
"functions": ["clsx", "cn"],
|
||||
"preserveWhitespace": true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user