代码拉取完成,页面将自动刷新
{
"extends": ["./node_modules/gts/", "plugin:lit/recommended"],
"ignorePatterns": [
"*.d.ts",
"node_modules/",
"packages/malloy/src/lang/lib/Malloy",
"dist/"
],
"rules": {
"consistent-return": "error",
"no-console": [
"error",
{
"allow": ["debug", "info", "warn", "error"]
}
],
"prettier/prettier": "error",
"sort-keys": "off",
"no-duplicate-imports": "error",
"no-restricted-imports": [
"error",
{
"patterns": ["@malloydata/malloy/src/*"],
"paths": [
{
"name": "lodash",
"message": "Import [module] from lodash/[module] instead"
}
]
}
],
"no-throw-literal": "error",
"@typescript-eslint/consistent-type-imports": [
"error",
{"prefer": "no-type-imports"}
],
"@typescript-eslint/no-unused-vars": [
"error",
{"argsIgnorePattern": "^_", "varsIgnorePattern": "^_"}
],
"@typescript-eslint/parameter-properties": [
"error",
{"prefer": "parameter-property"}
]
},
"overrides": [
{
"files": ["**/*.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false,
"project": ["./tsconfig.json"]
},
"rules": {"@typescript-eslint/no-floating-promises": "error"}
},
{
"files": ["src/server/**"],
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": ["**/extension/**", "vscode"]
}
]
}
},
{
"files": ["src/worker/**"],
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": ["**/extension/**", "**/server/**", "vscode"]
}
]
}
},
{
"files": ["src/extension/**"],
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": ["**/worker/**", "**/server/**"]
}
]
}
},
{
"files": ["src/common/**"],
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": ["vscode"]
}
]
}
},
{
"files": ["**/browser/**"],
"rules": {
"no-restricted-imports": [
"error",
{
"patterns": ["fs", "path"]
}
]
}
},
{
"files": ["scripts/**", "test/**", "integration/**"],
"rules": {
"node/no-unpublished-import": "off",
"no-console": "off",
"no-process-exit": "off"
}
},
{
"files": ["integration/**"],
"parserOptions": {
"warnOnUnsupportedTypeScriptVersion": false,
"project": ["./tsconfig.integration.json"]
}
}
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。