diff options
| author | 2025-02-06 14:46:33 +0000 | |
|---|---|---|
| committer | 2025-02-06 14:46:33 +0000 | |
| commit | d15d1831e1f53af2dcf63568bb47fa3cfab1359b (patch) | |
| tree | 5b2a4037e67d9d86acb1eb836ee5d07d0fc5d83f | |
| parent | 8d0ab54b0ac9b52ba7f9cb1380078087a0ca7597 (diff) | |
| download | astro-d15d1831e1f53af2dcf63568bb47fa3cfab1359b.tar.gz astro-d15d1831e1f53af2dcf63568bb47fa3cfab1359b.tar.zst astro-d15d1831e1f53af2dcf63568bb47fa3cfab1359b.zip | |
chore: reduce severity
| -rw-r--r-- | package.json | 4 | ||||
| -rw-r--r-- | packages/astro/src/cli/docs/open.ts | 1 | ||||
| -rw-r--r-- | packages/astro/src/preferences/index.ts | 1 | ||||
| -rw-r--r-- | packages/telemetry/src/config.ts | 1 | 
4 files changed, 5 insertions, 2 deletions
| diff --git a/package.json b/package.json index 051830499..aadc2eb9c 100644 --- a/package.json +++ b/package.json @@ -34,8 +34,8 @@      "test:e2e:match": "cd packages/astro && pnpm playwright install chromium firefox && pnpm run test:e2e:match",      "test:e2e:hosts": "turbo run test:hosted",      "benchmark": "astro-benchmark", -    "lint": "biome lint && eslint . --report-unused-disable-directives", -    "lint:ci": "biome ci --formatter-enabled=false --organize-imports-enabled=false --reporter=github && eslint . --report-unused-disable-directives", +    "lint": "biome lint && eslint . --report-unused-disable-directives-severity=warn", +    "lint:ci": "biome ci --formatter-enabled=false --organize-imports-enabled=false --reporter=github && eslint . --report-unused-disable-directives-severity=warn",      "lint:fix": "biome lint --write --unsafe",      "publint": "pnpm -r --filter=astro --filter=create-astro --filter=\"@astrojs/*\" --no-bail exec publint",      "version": "changeset version && node ./scripts/deps/update-example-versions.js && pnpm install --no-frozen-lockfile && pnpm run format", diff --git a/packages/astro/src/cli/docs/open.ts b/packages/astro/src/cli/docs/open.ts index 5b59e6c47..b37028449 100644 --- a/packages/astro/src/cli/docs/open.ts +++ b/packages/astro/src/cli/docs/open.ts @@ -9,6 +9,7 @@ const getPlatformSpecificCommand = (): [string] | [string, string[]] => {  	const isGitPod = Boolean(process.env.GITPOD_REPO_ROOT);  	const platform = isGitPod ? 'gitpod' : process.platform; +	// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check  	switch (platform) {  		case 'android':  		case 'linux': diff --git a/packages/astro/src/preferences/index.ts b/packages/astro/src/preferences/index.ts index beb835f10..e34486739 100644 --- a/packages/astro/src/preferences/index.ts +++ b/packages/astro/src/preferences/index.ts @@ -143,6 +143,7 @@ function getGlobalPreferenceDir() {  		const { XDG_CONFIG_HOME = path.join(homedir, '.config') } = process.env;  		return path.join(XDG_CONFIG_HOME, name);  	}; +	// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check  	switch (process.platform) {  		case 'darwin':  			return macos(); diff --git a/packages/telemetry/src/config.ts b/packages/telemetry/src/config.ts index dba5d5fc4..5f25e2a9d 100644 --- a/packages/telemetry/src/config.ts +++ b/packages/telemetry/src/config.ts @@ -21,6 +21,7 @@ function getConfigDir(name: string) {  		const { XDG_CONFIG_HOME = path.join(homedir, '.config') } = process.env;  		return path.join(XDG_CONFIG_HOME, name);  	}; +	// eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check  	switch (process.platform) {  		case 'darwin':  			return macos(); | 
