Skip to content

Commit fbc27f0

Browse files
tbradshamatticbot
authored andcommitted
Stylelint: First pass at bringing spacing into compliance (#42734)
* Fix at-rule-empty-line-before, comment-empty-line-before, scss/at-else-empty-line-before * Fix rule-empty-line-before * Fix scss/at-else-closing-brace-newline-after, scss/at-if-closing-brace-newline-after * Fix block-no-empty * Fix function-calc-no-unspaced-operator, scss/operator-no-unspaced * Add changelogs * Remove disabling of rules * Fix some changes since rebase * Update projects/packages/search/src/customberg/components/sidebar/styles.scss Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com> * Update projects/packages/search/src/customberg/components/sidebar/styles.scss Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com> * Fix some late additions --------- Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/14275163678 Upstream-Ref: Automattic/jetpack@8668c65
1 parent 2ef64a1 commit fbc27f0

File tree

8 files changed

+22
-10
lines changed

8 files changed

+22
-10
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [2.0.2-alpha] - unreleased
9+
10+
This is an alpha version! The changes listed here are not final.
11+
12+
### Changed
13+
- Code: First pass of style coding standards.
14+
815
## [2.0.1] - 2025-04-04
916
### Changed
1017
- Code: Use function-style `exit()` and `die()` with a default status code of 0. [#41167]
@@ -789,6 +796,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
789796

790797
Misc fixes
791798

799+
[2.0.2-alpha]: https://github.com/Automattic/wp-super-cache/compare/v2.0.1...v2.0.2-alpha
792800
[2.0.1]: https://github.com/Automattic/wp-super-cache/compare/v2.0.0...v2.0.1
793801
[2.0.0]: https://github.com/Automattic/wp-super-cache/compare/v1.12.4...v2.0.0
794802
[1.12.4]: https://github.com/Automattic/wp-super-cache/compare/v1.12.3...v1.12.4

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@
4646
"wp-svn-autopublish": true
4747
},
4848
"config": {
49-
"autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1"
49+
"autoloader-suffix": "6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha"
5050
}
5151
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@automattic/jetpack-super-cache",
4-
"version": "2.0.1",
4+
"version": "2.0.2-alpha",
55
"description": "A very fast caching engine for WordPress that produces static html files.",
66
"homepage": "https://jetpack.com",
77
"bugs": {

styling/dashboard.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
/* TODO: Migrate to SCSS after adding build step to WPSC */
2+
23
/* TODO: Migrate CSS from wp-cache.php */
34

45
#wpwrap {
6+
57
/* Declare JP CSS variables */
8+
69
/* TODO: Integrate root-variables.scss from base-styles package */
710
--jp-black: #000000;
811
--jp-gray: #dcdcde;
@@ -34,6 +37,7 @@
3437
}
3538

3639
#wpsc-dashboard {
40+
3741
/* Remove default wp-admin spacing */
3842
margin-left: -20px;
3943
padding-top: 20px;

vendor/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@
2222

2323
require_once __DIR__ . '/composer/autoload_real.php';
2424

25-
return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1::getLoader();
25+
return ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha::getLoader();

vendor/composer/autoload_real.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// autoload_real.php @generated by Composer
44

5-
class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1
5+
class ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha
66
{
77
private static $loader;
88

@@ -24,12 +24,12 @@ public static function getLoader()
2424

2525
require __DIR__ . '/platform_check.php';
2626

27-
spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1', 'loadClassLoader'), true, true);
27+
spl_autoload_register(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha', 'loadClassLoader'), true, true);
2828
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29-
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1', 'loadClassLoader'));
29+
spl_autoload_unregister(array('ComposerAutoloaderInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha', 'loadClassLoader'));
3030

3131
require __DIR__ . '/autoload_static.php';
32-
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1::getInitializer($loader));
32+
call_user_func(\Composer\Autoload\ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha::getInitializer($loader));
3333

3434
$loader->setClassMapAuthoritative(true);
3535
$loader->register(true);

vendor/composer/autoload_static.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Composer\Autoload;
66

7-
class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1
7+
class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha
88
{
99
public static $classMap = array (
1010
'Automattic\\Jetpack\\Device_Detection' => __DIR__ . '/..' . '/automattic/jetpack-device-detection/src/class-device-detection.php',
@@ -15,7 +15,7 @@ class ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1
1515
public static function getInitializer(ClassLoader $loader)
1616
{
1717
return \Closure::bind(function () use ($loader) {
18-
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_1::$classMap;
18+
$loader->classMap = ComposerStaticInit6fe342bc02f0b440f7b3c8d8ade42286_super_cacheⓥ2_0_2_alpha::$classMap;
1919

2020
}, null, ClassLoader::class);
2121
}

wp-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: WP Super Cache
44
* Plugin URI: https://wordpress.org/plugins/wp-super-cache/
55
* Description: Very fast caching plugin for WordPress.
6-
* Version: 2.0.1
6+
* Version: 2.0.2-alpha
77
* Author: Automattic
88
* Author URI: https://automattic.com/
99
* License: GPL2+

0 commit comments

Comments
 (0)