diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..27d8f7f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,25 @@ +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org + +# WordPress Coding Standards +# https://make.wordpress.org/core/handbook/best-practices/coding-standards/ + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true +indent_style = tab + +[*.css] +indent_style = tab +indent_size = 4 + +[*.scss] +indent_style = tab +indent_size = 4 + +[*.txt] +end_of_line = crlf diff --git a/.phpcs.xml.dist b/.phpcs.xml.dist deleted file mode 100644 index dee05ee..0000000 --- a/.phpcs.xml.dist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - A custom set of code standard rules to check for WordPress themes. - - - - - - - - - - - - - - - - - - - . - acf-json/index.php - wp-config.sample.php - */inc/* - */vendor/* - */assets/dist/svg/* - - - - - - - - - - - - - - - - - - diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 0000000..c4209bc --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,82 @@ + + + + + + + + node_modules + vendor + bin + tests/ + acf-json + wp-config.sample.php + inc + assets + + + A custom set of code standard rules to check for WordPress themes. + + + + + + + + + + + + . + + + + + + + + + + + + inc/customizer.php + + + + template-parts/post/author-bio.php + + + + + + + + + + + + + + + + + + + + + + + + + + +