Skip to content

Commit 2a35956

Browse files
authored
chore(eslint): fix ESLint editor settings for VS Code (#1302)
1 parent 327a3cf commit 2a35956

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
{
22
"editor.formatOnSave": true,
3+
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
4+
"editor.codeActionsOnSave": {
5+
"source.fixAll.eslint": true
6+
},
37
"i18n-ally.localesPaths": ["./packages/flat-i18n/locales/"],
48
"i18n-ally.enabledFrameworks": ["react", "i18next"],
59
"i18n-ally.keystyle": "nested",
610
"i18n-ally.sourceLanguage": "zh-CN",
711
"i18n-ally.displayLanguage": "zh-CN",
12+
"eslint.enable": true,
813
"eslint.workingDirectories": [
914
{
1015
"directory": "desktop/main-app",

0 commit comments

Comments
 (0)