Skip to content

Commit

Permalink
chore(formatting): Format config file, minor consistency fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmth committed Oct 31, 2023
1 parent bb27924 commit d080f65
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
"comment-no-empty": true,
"declaration-block-no-shorthand-property-overrides": true,
"declaration-block-single-line-max-declarations": 1,
"declaration-empty-line-before": ["never", { "ignore": ["after-comment", "after-declaration"] }],
"declaration-empty-line-before": [
"never",
{ "ignore": ["after-comment", "after-declaration"] }
],
"declaration-no-important": true,
"font-family-name-quotes": "always-where-recommended",
"font-family-no-duplicate-names": true,
Expand All @@ -17,11 +20,17 @@
"keyframe-declaration-no-important": true,
"length-zero-no-unit": true,
"max-nesting-depth": 5,
"media-feature-name-no-unknown": [true, { "ignoreMediaFeatureNames": ["min--moz-device-pixel-ratio"] }],
"media-feature-name-no-unknown": [
true,
{ "ignoreMediaFeatureNames": ["min--moz-device-pixel-ratio"] }
],
"no-invalid-double-slash-comments": true,
"no-unknown-animations": true,
"property-no-unknown": true,
"rule-empty-line-before": ["always", { "ignore": ["after-comment", "inside-block"] }],
"rule-empty-line-before": [
"always",
{ "ignore": ["after-comment", "inside-block"] }
],
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const array1 = ['foo'];
registry.register(array1, 'foo');
// array1 is not referenced in any callback, so it can be garbage collected

console.log("Triggering garbage collection, don't do this in production code!");
console.log("Triggering garbage collection. Don't do this in production code!");

(function allocateMemory() {
Array.from({ length: 50000 }, () => () => {});
Expand Down

0 comments on commit d080f65

Please sign in to comment.