Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
Add code style config files
Browse files Browse the repository at this point in the history
Copy & paste from twentytwentythree to get started.
  • Loading branch information
Vicente Canales committed Aug 24, 2023
1 parent b511bdd commit 7e0a15f
Show file tree
Hide file tree
Showing 6 changed files with 584 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# https://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab

[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
*.DS_Store
node_modules
vendor
*.DS_Store
3 changes: 3 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-recommended"
}
29 changes: 29 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "wordpress/twentytwentyfour",
"type": "package",
"description": "The default WordPress theme for 2024",
"keywords": [
"WordPress",
"Themes"
],
"homepage": "https://github.com/WordPress/twentytwentyfour",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Contributors",
"homepage": "https://github.com/WordPress/twentytwentyfour/contributors.md"
}
],
"require": {
"php": ">=5.6"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.1",
"wptrt/wpthemereview": "^0.2.1"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
Loading

0 comments on commit 7e0a15f

Please sign in to comment.