Skip to content

Commit 06212bd

Browse files
authored
Merge pull request #43 from happyprime/update/coding-standards-config
Update coding standards configuration
2 parents c3aaf99 + 685ca68 commit 06212bd

11 files changed

Lines changed: 13106 additions & 6121 deletions

.browserslistrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
> 1%
2+
last 1 Android versions
3+
last 1 ChromeAndroid versions
4+
last 2 Chrome versions
5+
last 2 Firefox versions
6+
last 2 Safari versions
7+
last 2 iOS versions
8+
last 2 Edge versions
9+
last 2 Opera versions

.distignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22
.github/
33
.gitignore
44
.distignore
5+
.editorconfig
56
.wordpress-org/
67
node_modules/
78
vendor/
8-
.eslintrc.js
9+
.browserslistrc
910
.prettierrc.js
11+
eslint.config.mjs
1012
composer.json
1113
composer.lock
1214
package.json

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
trim_trailing_whitespace = true
8+
indent_style = tab
9+
10+
[*.{yml,yaml}]
11+
indent_style = space
12+
indent_size = 2

.eslintrc.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
vendor/
3+
.claude/settings.local.json

.wp-env.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"core": "WordPress/WordPress#6.9",
3+
"phpVersion": "8.2",
4+
"plugins": [
5+
"."
6+
],
7+
"config": {
8+
"WP_DEBUG": true,
9+
"WP_DEBUG_LOG": true,
10+
"SCRIPT_DEBUG": true
11+
}
12+
}

blueprint.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"landingPage": "/wp-admin/options-discussion.php",
3+
"preferredVersions": {
4+
"php": "8.2",
5+
"wp": "latest"
6+
},
7+
"steps": [
8+
{
9+
"step": "installPlugin",
10+
"pluginData": {
11+
"resource": "wordpress.org/plugins",
12+
"slug": "turn-comments-off"
13+
}
14+
},
15+
{
16+
"step": "login"
17+
}
18+
]
19+
}

composer.lock

Lines changed: 27 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import happyprimeConfig from '@happyprime/eslint-config';
2+
3+
export default happyprimeConfig;

0 commit comments

Comments
 (0)