.editorconfig
The skeleton repository contains a .editorconfig
file at the root, which unifies the coding style for different editors and IDEs.
The default content matches the editor configuration used by WordPress core (other than removing one file reference specific to WordPress core). This configuration helps write code with a compatible code style to WordPress core, as well as many themes and plugins.
The file is a recommendation but not a requirement. Customers can modify or remove as needed based on their team’s needs.
For items outside the EditorConfig standard, use PHP_CodeSniffer and the WordPress Coding Standards to help with code style.
Last updated: August 03, 2023