Created
March 2, 2026 09:29
-
-
Save tuffs/fdd6b6f5c9a15f39bba07ddd63c20d5e to your computer and use it in GitHub Desktop.
Two Space Indents - Laravel App Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| root = true | |
| [*] | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = true | |
| trim_trailing_whitespace = true | |
| [*.php] | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = true | |
| [*.blade.php] | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = true | |
| [*.{js,jsx,ts,tsx,cjs,mjs}] | |
| indent_size = 2 | |
| indent_style = space | |
| insert_final_newline = true | |
| [*.md] | |
| insert_final_newline = false | |
| trim_trailing_whitespace = false | |
| [*.{yml,yaml}] | |
| indent_size = 2 | |
| [compose.yaml] | |
| indent_size = 4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "preset": "psr12", | |
| "rules": { | |
| "indentation_type": { | |
| "indent_type": "space", | |
| "indent_size": 2 | |
| }, | |
| "line_ending": "\n" | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Brings into Laravel a styling more akin to Ruby style guidelines.