Gathering detailed insights and metrics for @tivac/eslint-plugin-svelte
Gathering detailed insights and metrics for @tivac/eslint-plugin-svelte
Gathering detailed insights and metrics for @tivac/eslint-plugin-svelte
Gathering detailed insights and metrics for @tivac/eslint-plugin-svelte
npm install @tivac/eslint-plugin-svelte
Typescript
Module System
Node Version
NPM Version
65.7
Supply Chain
71.1
Quality
73.9
Maintenance
100
Vulnerability
98.9
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
8 Stars
80 Commits
2 Watchers
1 Branches
2 Contributors
Updated on Sep 18, 2023
Latest Version
3.1.0
Package Id
@tivac/eslint-plugin-svelte@3.1.0
Unpacked Size
18.58 kB
Size
5.18 kB
File Count
13
NPM Version
8.11.0
Node Version
16.16.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
5
Install the plugin and its dependencies via npm.
1$> npm install --save-dev @tivac/eslint-plugin-svelte
Add one of the shared configs provided by this plugin to the extends
section in your ESLint config.
1{ 2 "extends" : [ 3 // Only enables the plugin, no rule config 4 "plugin:@tivac/svelte/base" 5 6 // or 7 8 // Enables the plugin and all rules 9 "plugin:@tivac/svelte/recommended" 10 ] 11}
derived-inputs-outputs
, input & value names of derived()
should matchreactive-curlies
, don't add { ... }
if there's only a single statementreactive-destructuring
, prefer destructuring for reactive reassignmentsreactive-functions
, don't define functions inside reactive statementsreactive-literals
, don't assign literals in a reactive statementstore-prop-destructuring
, don't access store values as $foo.bar
but instead destructure them $: ({ bar } = $foo);
for more granular redrawsstores-initial-value
, always give svelte stores a default valuestores-no-async
, don't use async
/await
inside svelte stores because it causes issues with the auto-unsubscribing featuresNo vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
7 existing vulnerabilities detected
Details
Reason
Found 0/26 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More