|
| 1 | +#/ |
| 2 | +# @license Apache-2.0 |
| 3 | +# |
| 4 | +# Copyright (c) 2017 The Stdlib Authors. |
| 5 | +# |
| 6 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | +# you may not use this file except in compliance with the License. |
| 8 | +# You may obtain a copy of the License at |
| 9 | +# |
| 10 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | +# |
| 12 | +# Unless required by applicable law or agreed to in writing, software |
| 13 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | +# See the License for the specific language governing permissions and |
| 16 | +# limitations under the License. |
| 17 | +#/ |
| 18 | + |
| 19 | +# EditorConfig configuration file (see <http://editorconfig.org/>). |
| 20 | + |
| 21 | +# Indicate that this file is a root-level configuration file: |
| 22 | +root = true |
| 23 | + |
| 24 | +# Set properties for all files: |
| 25 | +[*] |
| 26 | +end_of_line = lf |
| 27 | +charset = utf-8 |
| 28 | +trim_trailing_whitespace = true |
| 29 | +insert_final_newline = true |
| 30 | + |
| 31 | +# Set properties for JavaScript files: |
| 32 | +[*.js] |
| 33 | +indent_style = tab |
| 34 | + |
| 35 | +# Set properties for TypeScript files: |
| 36 | +[*.ts] |
| 37 | +indent_style = tab |
| 38 | + |
| 39 | +# Set properties for Python files: |
| 40 | +[*.py] |
| 41 | +indent_style = space |
| 42 | +indent_size = 4 |
| 43 | + |
| 44 | +# Set properties for Julia files: |
| 45 | +[*.jl] |
| 46 | +indent_style = tab |
| 47 | + |
| 48 | +# Set properties for R files: |
| 49 | +[*.R] |
| 50 | +indent_style = tab |
| 51 | + |
| 52 | +# Set properties for C files: |
| 53 | +[*.c] |
| 54 | +indent_style = tab |
| 55 | + |
| 56 | +# Set properties for C header files: |
| 57 | +[*.h] |
| 58 | +indent_style = tab |
| 59 | + |
| 60 | +# Set properties for C++ files: |
| 61 | +[*.cpp] |
| 62 | +indent_style = tab |
| 63 | + |
| 64 | +# Set properties for C++ header files: |
| 65 | +[*.hpp] |
| 66 | +indent_style = tab |
| 67 | + |
| 68 | +# Set properties for Fortran files: |
| 69 | +[*.f] |
| 70 | +indent_style = space |
| 71 | +indent_size = 2 |
| 72 | +insert_final_newline = false |
| 73 | + |
| 74 | +# Set properties for shell files: |
| 75 | +[*.sh] |
| 76 | +indent_style = tab |
| 77 | + |
| 78 | +# Set properties for AWK files: |
| 79 | +[*.awk] |
| 80 | +indent_style = tab |
| 81 | + |
| 82 | +# Set properties for HTML files: |
| 83 | +[*.html] |
| 84 | +indent_style = tab |
| 85 | +tab_width = 2 |
| 86 | + |
| 87 | +# Set properties for CSS files: |
| 88 | +[*.css] |
| 89 | +indent_style = tab |
| 90 | + |
| 91 | +# Set properties for Makefiles: |
| 92 | +[Makefile] |
| 93 | +indent_style = tab |
| 94 | + |
| 95 | +[*.mk] |
| 96 | +indent_style = tab |
| 97 | + |
| 98 | +# Set properties for Markdown files: |
| 99 | +[*.md] |
| 100 | +indent_style = space |
| 101 | +indent_size = 4 |
| 102 | +trim_trailing_whitespace = false |
| 103 | + |
| 104 | +# Set properties for `usage.txt` files: |
| 105 | +[usage.txt] |
| 106 | +indent_style = space |
| 107 | +indent_size = 2 |
| 108 | + |
| 109 | +# Set properties for `repl.txt` files: |
| 110 | +[repl.txt] |
| 111 | +indent_style = space |
| 112 | +indent_size = 4 |
| 113 | + |
| 114 | +# Set properties for `package.json` files: |
| 115 | +[package.json] |
| 116 | +indent_style = space |
| 117 | +indent_size = 2 |
| 118 | + |
| 119 | +# Set properties for `datapackage.json` files: |
| 120 | +[datapackage.json] |
| 121 | +indent_style = space |
| 122 | +indent_size = 2 |
| 123 | + |
| 124 | +# Set properties for `tslint.json` files: |
| 125 | +[tslint.json] |
| 126 | +indent_style = space |
| 127 | +indent_size = 2 |
| 128 | + |
| 129 | +# Set properties for `tsconfig.json` files: |
| 130 | +[tsconfig.json] |
| 131 | +indent_style = space |
| 132 | +indent_size = 2 |
| 133 | + |
| 134 | +# Set properties for LaTeX files: |
| 135 | +[*.tex] |
| 136 | +indent_style = tab |
| 137 | + |
| 138 | +# Set properties for LaTeX Bibliography files: |
| 139 | +[*.bib] |
| 140 | +indent_style = tab |
| 141 | + |
| 142 | +# Set properties for YAML files: |
| 143 | +[*.yml] |
| 144 | +indent_style = space |
| 145 | +indent_size = 2 |
| 146 | + |
| 147 | +# Set properties for GYP files: |
| 148 | +[binding.gyp] |
| 149 | +indent_style = space |
| 150 | +indent_size = 2 |
| 151 | + |
| 152 | +[*.gypi] |
| 153 | +indent_style = space |
| 154 | +indent_size = 2 |
0 commit comments