Skip to content

.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.

This file is recommended but is not required. Customers can modify or remove the file based on the needs of a development team.

For items outside of the EditorConfig standard, use PHP_CodeSniffer (PHPCS) and the WordPress Coding Standards to help with code style.

Last updated: December 26, 2023

Relevant to

  • WordPress