Gathering detailed insights and metrics for stylelint-high-performance-animation
Gathering detailed insights and metrics for stylelint-high-performance-animation
Gathering detailed insights and metrics for stylelint-high-performance-animation
Gathering detailed insights and metrics for stylelint-high-performance-animation
Stylelint rule for preventing the use of low performance animation and transition properties.
npm install stylelint-high-performance-animation
Typescript
Module System
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
82 Stars
245 Commits
8 Forks
3 Watchers
5 Branches
8 Contributors
Updated on Jul 06, 2025
Latest Version
1.11.0
Package Id
stylelint-high-performance-animation@1.11.0
Unpacked Size
15.05 kB
Size
5.17 kB
File Count
8
Published on
Feb 21, 2025
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
1
Stylelint rule for preventing the use of low performance animation and transition properties.
This is a fork of stylelint-performance-animation stylelint plugin. It uses a blacklist for harmful properties instead of a whitelist, which makes it easy to avoid false positives and allows you to specify which type of properties to warn for (layout
/paint
).
1npm install stylelint-high-performance-animation --save-dev
or
1yarn add stylelint-high-performance-animation --dev
Add this config to your .stylelintrc
or stylelint config inside package.json
:
1{ 2 "plugins": ["stylelint-high-performance-animation"], 3 "rules": { 4 "plugin/no-low-performance-animation-properties": true 5 } 6}
1div { 2 transition: margin 350ms ease-in; 3} 4/** ^^^^^^ 5 * You should not use low performance animation properties */
1@keyframes myAnimation { 2 50% { 3 top: 5px; 4 } 5} 6/** ^^^^^^ 7 * You should not use low performance animation properties */
For more information read article By Paul Lewis and Paul Irish
true
The following pattern is considered warning:
1div { 2 transition: margin-left 350ms ease-in; 3}
The following pattern is not considered warning:
1div { 2 transition: transform 350ms ease-in; 3}
ignore: "paint-properties"
Makes the rule not warn for properties that cause paint
and only warn for properties that cause layout
.
ignoreProperties: [string]
Given:
{ ignoreProperties: ['color', 'background-color'] }
The following pattern is considered warning:
1div { 2 transition-property: color, margin; 3}
The following pattern is not considered warning:
1div { 2 transition-property: color, opacity, background-color; 3}
This plugin has only stylelint as a dependency.
MIT
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
2 existing vulnerabilities detected
Details
Reason
SAST tool detected but not run on all commits
Details
Reason
8 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 6
Reason
Found 1/7 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
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