Skip to content

Commit 00e3be4

Browse files
committed
update editor settings
1 parent a62a45d commit 00e3be4

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@
33
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
44
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
55
],
6-
"oxc.enable.oxlint": false,
6+
"oxc.enable.oxlint": true,
77
"files.associations": {
88
"**/packages/create-app/template/**/*": "plaintext"
99
},
1010
"[json]": {
1111
"editor.defaultFormatter": "oxc.oxc-vscode"
1212
},
13-
"prettier.enable": false,
1413
"editor.formatOnSave": true,
1514
"editor.defaultFormatter": "oxc.oxc-vscode",
1615
"oxc.fmt.configPath": ".oxfmtrc.jsonc",

packages/create-app/src/plugins/eslint.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { TemplatePlugin } from '@/index';
2-
import { pick, writeFile } from '@/utils';
2+
import { writeFile } from '@/utils';
33
import path from 'node:path';
44

55
const config = `import { defineConfig, globalIgnores } from 'eslint/config';

0 commit comments

Comments
 (0)