Dotclear


Ignore:
Timestamp:
01/24/18 10:43:03 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

EditorConfig?: switch to 2 spaces by default, only *.php and *.md use 4 spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .editorconfig

    r3671 r3676  
    88# 1. Franck: creation (2017-12-04) 
    99# 2. Franck: PSR-2 for PHP, add specific extension settings (2018-01-19) 
     10# 3. Franck: switch to 2 spaces by default, only *.php and *.md use 4 spaces (2018-01-24) 
    1011 
    1112# top-most EditorConfig file 
     
    1718insert_final_newline = true 
    1819charset = utf-8 
    19 indent_style = tab 
    20 indent_size = 4 
     20indent_style = space 
     21indent_size = 2 
    2122trim_trailing_whitespace = true 
    2223 
    23 # PHP 
    24 [*.php,*.tpl] 
    25 indent_style = space 
    26 indent_size = 4 
    27  
    28 # Javascript/JSon 
    29 [*.js,*.json] 
     24# PHP - PSR-2 
     25[*.php] 
    3026indent_style = space 
    3127indent_size = 4 
     
    3329# Markdown 
    3430[*.md] 
     31indent_style = space 
     32indent_size = 4 
    3533trim_trailing_whitespace = false 
    36  
    37 # XML 
    38 [*.xml] 
    39 indent_style = space 
    40 indent_size = 2 
Note: See TracChangeset for help on using the changeset viewer.

Sites map