mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-07-09 16:00:09 +00:00
chore: lint: enable cache and concurrency
This commit is contained in:
parent
8d3825abc9
commit
45fe0b3682
3 changed files with 5 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -31,3 +31,4 @@ coverage
|
|||
src/apps/cli/dist/*
|
||||
_testdata/**
|
||||
utils/bench/splitResults.csv
|
||||
.eslintcache
|
||||
|
|
@ -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
|
||||
},
|
||||
},
|
||||
}
|
||||
]);
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue