123456789101112131415161718192021222324 |
- # EditorConfig is awesome: https://EditorConfig.org
- # top-most EditorConfig file 表示是最顶层的配置文件,发现设为true时,才会停止查找.editorconfig文件
- root = true
- # Unix-style newlines with a newline ending every file 对于所有的文件 始终在文件末尾插入一个新行
- [*]
- end_of_line = lf
- insert_final_newline = true
- # Matches multiple files with brace expansion notation
- # Set default charset 对于所有的js文件,设置文件字符集为utf-8
- [*.{js,vue,scss}]
- charset = utf-8
- # 4 space indentation 控制vue文件类型的缩进大小
- [*.js,vue,scss]
- indent_style = space
- indent_size = 4
- # Matches the exact files either package.json or .travis.yml 设置确切文件 package.json/.travis/.yml的缩进类型
- [{package.json}]
- indent_style = space
- indent_size = 2
|