mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 03:21:07 +08:00
55 lines
1.2 KiB
JSON
55 lines
1.2 KiB
JSON
{
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[javascriptreact]": {
|
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[typescript]": {
|
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"[typescriptreact]": {
|
|
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
|
|
"editor.formatOnSave": true
|
|
},
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": true
|
|
},
|
|
"editor.tabSize": 2,
|
|
"editor.formatOnSave": true,
|
|
"eslint.format.enable": true,
|
|
"eslint.options": {
|
|
"cache": true,
|
|
"cacheLocation": ".cache/eslint",
|
|
"extensions": [
|
|
".js",
|
|
".jsx",
|
|
".mjs",
|
|
".json",
|
|
".ts",
|
|
".tsx"
|
|
]
|
|
},
|
|
"eslint.packageManager": "yarn",
|
|
"eslint.useESLintClass": true,
|
|
"eslint.validate": [
|
|
"json",
|
|
"javascript",
|
|
"javascriptreact",
|
|
"html",
|
|
"typescript",
|
|
"typescriptreact"
|
|
],
|
|
"eslint.workingDirectories": [
|
|
"./code",
|
|
"./scripts"
|
|
],
|
|
"files.associations": {
|
|
"*.js": "javascriptreact"
|
|
},
|
|
"prettier.ignorePath": "./code/.prettierignore",
|
|
"typescript.tsdk": "./code/node_modules/typescript/lib"
|
|
} |