chore: lint: enable cache and concurrency

This commit is contained in:
vorotamoroz
2026-05-26 11:24:41 +01:00
parent 8d3825abc9
commit 45fe0b3682
3 changed files with 5 additions and 4 deletions
+2 -1
View File
@@ -30,4 +30,5 @@ cov_profile/**
coverage
src/apps/cli/dist/*
_testdata/**
utils/bench/splitResults.csv
utils/bench/splitResults.csv
.eslintcache
+2 -2
View File
@@ -43,7 +43,7 @@ export default defineConfig([
{
files: ["**/*.ts"],
languageOptions: {
globals: { ...globals.browser },
globals: { ...globals.browser, "PouchDB": "readonly" },
parser: tsParser,
parserOptions: {
project: "./tsconfig.json",
@@ -79,5 +79,5 @@ export default defineConfig([
"no-unused-vars": ["error", { argsIgnorePattern: "^_", varsIgnorePattern: "^_" }],
"obsidianmd/no-plugin-as-component": "off", // Temporary
},
},
}
]);
+1 -1
View File
@@ -19,7 +19,7 @@
"buildVite": "npx dotenv-cli -e .env -- vite build --mode production",
"buildViteOriginal": "npx dotenv-cli -e .env -- vite build --mode original",
"buildDev": "node esbuild.config.mjs dev",
"lint": "eslint src",
"lint": "eslint --cache --concurrency auto src",
"svelte-check": "svelte-check --tsconfig ./tsconfig.json",
"tsc-check": "tsc --noEmit",
"pretty": "npm run prettyNoWrite -- --write --log-level error",