Skip to content

Commit

Permalink
Add .editorconfig ⚙️
Browse files Browse the repository at this point in the history
  • Loading branch information
hirasso committed Jul 30, 2024
1 parent 122ba38 commit 69032fb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# PHP PSR-2 Coding Standards
# http://www.php-fig.org/psr/psr-2/

root = true

[*.{js,php}]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space

[*.{js,scss,css}]
indent_size = 2

[*.php]
indent_size = 4
1 change: 0 additions & 1 deletion src/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,4 @@ function attr(
) {
return Attr::attr(...func_get_args());
}

}

0 comments on commit 69032fb

Please sign in to comment.