New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

svelte-check

Package Overview
Dependencies
Maintainers
1
Versions
267
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

svelte-check - npm Package Compare versions

Comparing version 1.0.58 to 1.0.59

2

package.json
{
"name": "svelte-check",
"description": "Svelte Code Checker Terminal Interface",
"version": "1.0.58",
"version": "1.0.59",
"main": "./dist/src/index.js",

@@ -6,0 +6,0 @@ "bin": "./bin/svelte-check",

@@ -52,21 +52,14 @@ # Check your code with svelte-check

### Args:
|Flag|Description|
|---|---|
|`--workspace <path>`| Path to your workspace. All subdirectories except node_modules and those listed in `--ignore` are checked
|`--output <human\|human-verbose\|machine>`|
|`--watch`| Will not exit after one pass but keep watching files for changes and rerun diagnostics
|`--ignore <path1,path2>`| Files/folders to ignore - relative to workspace root, comma-separated, inside quotes. Example: `--ignore "dist,build"`
|`--fail-on-warnings`| Will also exit with error code when there are warnings
|`--fail-on-hints`| Will also exit with error code when there are hints
|`--compiler-warnings <code1:error\|ignore,code2:error\|ignore>`| A list of Svelte compiler warning codes. Each entry defines whether that warning should be ignored or treated as an error. Warnings are comma-separated, between warning code and error level is a colon; all inside quotes. Example: `--compiler-warnings "css-unused-selector:ignore,unused-export-let:error"`
|`--diagnostic-sources <js,svelte,css>`| A list of diagnostic sources which should run diagnostics on your code. Possible values are `js` (includes TS), `svelte`, `css`. Comma-separated, inside quotes. By default all are active. Example: `--diagnostic-sources "js,svelte"`
|`--threshold <error\|warning>`| Filters the diagnostics to display. `error` will output only errors while `warning` will output warnings and errors.
`--workspace <path>` Path to your workspace. All subdirectories except node_modules and those listed in --ignore are checked
`--output <human|human-verbose|machine>`
`--watch` Will not exit after one pass but keep watching files for changes and rerun diagnostics
`--ignore <path1,path2>` Files/folders to ignore - relative to workspace root, comma-separated, inside quotes. Example: --ignore "dist,build"
`--fail-on-warnings` Will also exit with error code when there are warnings
`--fail-on-hints` Will also exit with error code when there are hints
`--compiler-warnings <code1:error|ignore,code2:error|ignore>` A list of Svelte compiler warning codes. Each entry defines whether that warning should be ignored or treated as an error. Warnings are comma-separated, between warning code and error level is a colon; all inside quotes. Example: --compiler-warnings "css-unused-selector:ignore,unused-export-let:error"
`--diagnostic-sources <js,svelte,css>` A list of diagnostic sources which should run diagnostics on your code. Possible values are `js` (includes TS), `svelte`, `css`. Comma-separated, inside quotes. By default all are active. Example: --diagnostic-sources "js,svelte"
`--threshold <error|warning>` Filters the diagnostics to display. `error` will output only errors while `warning` will output warnings and errors.
### More docs, preprocessor setup and troubleshooting

@@ -73,0 +66,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc