chore: update oxlint / oxfmt settings
This commit is contained in:
24
.vscode/settings.json
vendored
24
.vscode/settings.json
vendored
@@ -5,6 +5,12 @@
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "oxc.oxc-vscode"
|
||||
},
|
||||
"[json]": {
|
||||
"editor.defaultFormatter": "oxc.oxc-vscode"
|
||||
},
|
||||
"[jsonc]": {
|
||||
"editor.defaultFormatter": "oxc.oxc-vscode"
|
||||
},
|
||||
"[postcss]": {
|
||||
"editor.defaultFormatter": "oxc.oxc-vscode"
|
||||
},
|
||||
@@ -22,10 +28,10 @@
|
||||
},
|
||||
"editor.defaultFormatter": "oxc.oxc-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnSaveMode": "file",
|
||||
"editor.quickSuggestions": {
|
||||
"strings": "on"
|
||||
},
|
||||
"eslint.enable": false,
|
||||
"files.associations": {
|
||||
"*.css": "tailwindcss"
|
||||
},
|
||||
@@ -33,16 +39,8 @@
|
||||
"oxc.fmt.configPath": "wp-content/themes/moonshine/.oxfmtrc.json",
|
||||
"oxc.path.oxfmt": "wp-content/themes/moonshine/node_modules/.bin/oxfmt",
|
||||
"oxc.path.oxlint": "wp-content/themes/moonshine/node_modules/.bin/oxlint",
|
||||
"oxc.typeAware": true,
|
||||
"tailwindCSS.classAttributes": [
|
||||
"class",
|
||||
"ui"
|
||||
],
|
||||
"tailwindCSS.experimental.classRegex": [
|
||||
[
|
||||
"ui:\\s*{([^)]*)\\s*}",
|
||||
"(?:'|\"|`)([^']*)(?:'|\"|`)"
|
||||
]
|
||||
],
|
||||
"oxc.tsConfigPath": "wp-content/themes/moonshine/tsconfig.json",
|
||||
"tailwindCSS.classAttributes": ["class", "ui"],
|
||||
"tailwindCSS.experimental.classRegex": [["ui:\\s*{([^)]*)\\s*}", "(?:'|\"|`)([^']*)(?:'|\"|`)"]],
|
||||
"typescript.tsdk": "wp-content/themes/moonshine/node_modules/typescript/lib"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user