diff --git a/.oxlintrc.json b/.oxlintrc.json index 75868c2..da3babc 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -1,15 +1,15 @@ { - "$schema": "./node_modules/oxlint/configuration_schema.json", - "plugins": [ - "typescript", - "unicorn", - "oxc" - ], - "categories": { - "correctness": "error" - }, - "rules": {}, - "env": { - "builtin": true - } -} \ No newline at end of file + "$schema": "./node_modules/oxlint/configuration_schema.json", + "plugins": ["typescript", "unicorn", "oxc"], + "categories": { + "correctness": "error" + }, + "rules": {}, + "env": { + "builtin": true + }, + "options": { + "typeAware": true, + "typeCheck": true + } +} diff --git a/.zed/settings.json b/.zed/settings.json index 65d43c6..f7e063f 100644 --- a/.zed/settings.json +++ b/.zed/settings.json @@ -1,80 +1,80 @@ { - "lsp": { - "oxlint": { - "initialization_options": { - "settings": { - "configPath": null, - "run": "onType", - "disableNestedConfig": false, - "fixKind": "safe_fix", - "unusedDisableDirectives": "deny", - }, - }, - }, - "oxfmt": { - "initialization_options": { - "settings": { - "fmt.configPath": null, - "run": "onSave", - }, - }, - }, - }, - "languages": { - "JavaScript": { - "format_on_save": "on", - "prettier": { - "allowed": false, - }, - "formatter": [ - { - "language_server": { - "name": "oxfmt", - }, - }, - { - "code_action": "source.fixAll.oxc", - }, - ], - }, - "JSON": { - "format_on_save": "on", - "prettier": { - "allowed": false, - }, - "formatter": [ - { - "language_server": { - "name": "oxfmt", - }, - }, - ], - }, - "Markdown": { - "format_on_save": "on", - "prettier": { - "allowed": false, - }, - "formatter": [ - { - "language_server": { - "name": "oxfmt", - }, - }, - ], - }, - "TypeScript": { - "format_on_save": "on", - "prettier": { - "allowed": false, - }, - "formatter": [ - { - "language_server": { - "name": "oxfmt", - }, - }, - ], - }, - }, + "lsp": { + "oxlint": { + "initialization_options": { + "settings": { + "configPath": null, + "run": "onType", + "disableNestedConfig": false, + "fixKind": "safe_fix", + "unusedDisableDirectives": "deny" + } + } + }, + "oxfmt": { + "initialization_options": { + "settings": { + "fmt.configPath": null, + "run": "onSave" + } + } + } + }, + "languages": { + "JavaScript": { + "format_on_save": "on", + "prettier": { + "allowed": false + }, + "formatter": [ + { + "language_server": { + "name": "oxfmt" + } + }, + { + "code_action": "source.fixAll.oxc" + } + ] + }, + "JSON": { + "format_on_save": "on", + "prettier": { + "allowed": false + }, + "formatter": [ + { + "language_server": { + "name": "oxfmt" + } + } + ] + }, + "Markdown": { + "format_on_save": "on", + "prettier": { + "allowed": false + }, + "formatter": [ + { + "language_server": { + "name": "oxfmt" + } + } + ] + }, + "TypeScript": { + "format_on_save": "on", + "prettier": { + "allowed": false + }, + "formatter": [ + { + "language_server": { + "name": "oxfmt" + } + } + ] + } + } }