Dotclear

source: .editorconfig @ 3668:eae37064e2c2

Revision 3668:eae37064e2c2, 766 bytes checked in by franck <carnet.franck.paul@…>, 8 years ago (diff)

.editorconfig: PSR-2 for PHP, add specific extension settings

Line 
1# EditorConfig is awesome: http://EditorConfig.org
2
3# Recommended for Dotclear developments and contribution
4# See https://dotclear.org/documentation/2.0/resources/coding-standards
5
6# Revisions
7#
8# 1. Franck: creation (2017-12-04)
9# 2. Franck: PSR-2 for PHP, add specific extension settings (2018-01-19)
10
11# top-most EditorConfig file
12root = true
13
14# Unix-style newlines with a newline ending every file
15[*]
16end_of_line = lf
17insert_final_newline = true
18charset = utf-8
19indent_style = tab
20indent_size = 4
21trim_trailing_whitespace = true
22
23# PHP
24[*.php,*.tpl]
25indent_style = space
26indent_size = 4
27
28# Javascript/JSon
29[*.js,*.json]
30indent_style = space
31indent_size = 2
32
33# Markdown
34[*.md]
35trim_trailing_whitespace = false
36
37# XML
38[*.xml]
39indent_style = space
40indent_size = 2
Note: See TracBrowser for help on using the repository browser.

Sites map