mirror of
https://gh.wpcy.net/https://github.com/WordPress/create-block-theme.git
synced 2026-05-02 15:12:19 +08:00
Some checks failed
Run checks / Lint (push) Failing after -8h1m22s
Run checks / Compute previous WordPress version (push) Successful in -8h1m22s
Run checks / PHP 7.4 (push) Failing after -8h1m22s
Run checks / PHP 7.4 (WP previous major version) (push) Failing after -8h1m22s
Run checks / PHP 8.0 (push) Failing after -8h1m22s
Run checks / PHP 8.0 (WP previous major version) (push) Failing after -8h1m22s
Run checks / PHP 8.1 (push) Failing after -8h1m22s
Run checks / PHP 8.1 (WP previous major version) (push) Failing after -8h1m22s
Run checks / E2E Tests (push) Failing after 7s
Run checks / PHP 8.2 (push) Failing after -8h1m22s
Run checks / PHP 8.2 (WP previous major version) (push) Failing after -8h1m22s
Run checks / PHP 8.3 (WP previous major version) (push) Failing after -8h1m22s
Run checks / PHP 8.3 (push) Failing after 5s
* Add e2e tests
* Add e2e tests to CI
* Fix lint errors
* Use psge.once()
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Remove unnecessary test
* Attempt to fix linting error
* Remove last()
* Delete test theme in afterAll
* Add @playwright/test
* Also delete the theme in the beforeAll step
* Test the theme was activated
* Also test opening the plugin sidebar
* Attempt to fix landing-page timeout
* Test that zip file was downloaded
* Align test scripts closer to GB
* Update specs/landing-page.spec.js
Co-authored-by: Jerry Jones <jones.jeremydavid@gmail.com>
* Revert "Update specs/landing-page.spec.js"
This reverts commit b0e688fea0.
* Only run delete theme command if theme exists
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Jerry Jones <jones.jeremydavid@gmail.com>
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
{
|
|
"extends": "plugin:@wordpress/eslint-plugin/recommended",
|
|
"env": {
|
|
"browser": true
|
|
},
|
|
"settings": {
|
|
"import/core-modules": [
|
|
"@wordpress/api-fetch",
|
|
"@wordpress/blob",
|
|
"@wordpress/block-editor",
|
|
"@wordpress/components",
|
|
"@wordpress/core-data",
|
|
"@wordpress/data",
|
|
"@wordpress/editor",
|
|
"@wordpress/element",
|
|
"@wordpress/i18n",
|
|
"@wordpress/notices",
|
|
"@wordpress/plugins",
|
|
"@wordpress/preferences"
|
|
]
|
|
},
|
|
"rules": {
|
|
"@wordpress/dependency-group": "error",
|
|
"@wordpress/i18n-text-domain": [
|
|
"error",
|
|
{
|
|
"allowedTextDomain": "create-block-theme"
|
|
}
|
|
],
|
|
"react/jsx-boolean-value": "error",
|
|
"unicorn/no-abusive-eslint-disable": "error"
|
|
},
|
|
"ignorePatterns": [ "src/lib" ],
|
|
"plugins": [ "unicorn" ],
|
|
"overrides": [
|
|
{
|
|
"files": [ "**/test/**/*.js" ],
|
|
"extends": [ "plugin:@wordpress/eslint-plugin/test-unit" ]
|
|
},
|
|
{
|
|
"files": [ "specs/**/*.js" ],
|
|
"rules": {
|
|
"import/no-extraneous-dependencies": [
|
|
"error",
|
|
{
|
|
"peerDependencies": true,
|
|
"devDependencies": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|