|
1 | 1 | { |
2 | 2 | "[javascript][javascriptreact][typescript][typescriptreact][json][jsonc]": { |
3 | | - "editor.formatOnSave": false, |
| 3 | + "editor.formatOnSave": true, |
4 | 4 | "editor.codeActionsOnSave": { |
5 | 5 | "source.fixAll.eslint": "explicit" |
6 | | - } |
| 6 | + }, |
| 7 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
7 | 8 | }, |
8 | | - |
9 | 9 | "tailwindCSS.experimental.classRegex": [ |
10 | 10 | ["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"], |
11 | 11 | ["cx\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"], |
12 | 12 | // ["tw\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"] |
13 | | - |
14 | 13 | ["tw`([^`]*)`", "([^`]*)"] |
15 | | - |
16 | 14 | ], |
17 | | - |
18 | 15 | // If you do not want to autofix some rules on save |
19 | 16 | // You can put this in your user settings or workspace settings |
20 | 17 | "eslint.codeActionsOnSave.rules": [ |
|
25 | 22 | "!arrow-body-style", |
26 | 23 | "*" |
27 | 24 | ], |
28 | | - |
29 | 25 | // If you want to silent stylistic rules |
30 | 26 | // You can put this in your user settings or workspace settings |
31 | 27 | "eslint.rules.customizations": [ |
32 | | - { "rule": "@stylistic/*", "severity": "off", "fixable": true }, |
33 | | - { "rule": "tailwindcss/classnames-order", "severity": "off" }, |
34 | | - { "rule": "antfu/consistent-list-newline", "severity": "off" }, |
35 | | - { "rule": "hyoban/jsx-attribute-spacing", "severity": "off" }, |
36 | | - { "rule": "simple-import-sort/*", "severity": "off" }, |
37 | | - { "rule": "prefer-const", "severity": "off" }, |
38 | | - { "rule": "unused-imports/no-unused-imports", "severity": "off" } |
39 | | - ], |
40 | | - "cSpell.words": [ |
41 | | - "rsshub" |
| 28 | + { |
| 29 | + "rule": "@stylistic/*", |
| 30 | + "severity": "off", |
| 31 | + "fixable": true |
| 32 | + }, |
| 33 | + { |
| 34 | + "rule": "tailwindcss/classnames-order", |
| 35 | + "severity": "off" |
| 36 | + }, |
| 37 | + { |
| 38 | + "rule": "antfu/consistent-list-newline", |
| 39 | + "severity": "off" |
| 40 | + }, |
| 41 | + { |
| 42 | + "rule": "hyoban/jsx-attribute-spacing", |
| 43 | + "severity": "off" |
| 44 | + }, |
| 45 | + { |
| 46 | + "rule": "simple-import-sort/*", |
| 47 | + "severity": "off" |
| 48 | + }, |
| 49 | + { |
| 50 | + "rule": "prefer-const", |
| 51 | + "severity": "off" |
| 52 | + }, |
| 53 | + { |
| 54 | + "rule": "unused-imports/no-unused-imports", |
| 55 | + "severity": "off" |
| 56 | + } |
42 | 57 | ], |
| 58 | + "cSpell.words": ["rsshub"], |
43 | 59 | "editor.foldingImportsByDefault": true, |
44 | 60 | "commentTranslate.hover.enabled": false, |
45 | | - "typescript.tsdk": "node_modules/typescript/lib" |
| 61 | + "typescript.tsdk": "node_modules/typescript/lib", |
| 62 | + "i18n-ally.enabledFrameworks": ["i18next"], |
| 63 | + "i18n-ally.displayLanguage": "en", |
| 64 | + "i18n-ally.localesPaths": [ |
| 65 | + // "locales/app", |
| 66 | + // "locales/lang", |
| 67 | + // "locales/common", |
| 68 | + "locales/**/*" |
| 69 | + ] |
| 70 | + // "i18n-ally.namespace": true, |
| 71 | + // "i18n-ally.pathMatcher": "{namespace}/{locale}.json", |
| 72 | + // "i18n-ally.defaultNamespace": "app", |
46 | 73 | } |
0 commit comments