| 
 | 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,js.txt}]  | 
 | 33 | +indent_style = tab  | 
 | 34 | + | 
 | 35 | +# Set properties for JavaScript ES module files:  | 
 | 36 | +[*.{mjs,mjs.txt}]  | 
 | 37 | +indent_style = tab  | 
 | 38 | + | 
 | 39 | +# Set properties for JavaScript CommonJS files:  | 
 | 40 | +[*.{cjs,cjs.txt}]  | 
 | 41 | +indent_style = tab  | 
 | 42 | + | 
 | 43 | +# Set properties for JSON files:  | 
 | 44 | +[*.{json,json.txt}]  | 
 | 45 | +indent_style = space  | 
 | 46 | +indent_size = 2  | 
 | 47 | + | 
 | 48 | +# Set properties for `cli_opts.json` files:  | 
 | 49 | +[cli_opts.json]  | 
 | 50 | +indent_style = tab  | 
 | 51 | + | 
 | 52 | +# Set properties for TypeScript files:  | 
 | 53 | +[*.ts]  | 
 | 54 | +indent_style = tab  | 
 | 55 | + | 
 | 56 | +# Set properties for Python files:  | 
 | 57 | +[*.{py,py.txt}]  | 
 | 58 | +indent_style = space  | 
 | 59 | +indent_size = 4  | 
 | 60 | + | 
 | 61 | +# Set properties for Julia files:  | 
 | 62 | +[*.{jl,jl.txt}]  | 
 | 63 | +indent_style = tab  | 
 | 64 | + | 
 | 65 | +# Set properties for R files:  | 
 | 66 | +[*.{R,R.txt}]  | 
 | 67 | +indent_style = tab  | 
 | 68 | + | 
 | 69 | +# Set properties for C files:  | 
 | 70 | +[*.{c,c.txt}]  | 
 | 71 | +indent_style = tab  | 
 | 72 | + | 
 | 73 | +# Set properties for C header files:  | 
 | 74 | +[*.{h,h.txt}]  | 
 | 75 | +indent_style = tab  | 
 | 76 | + | 
 | 77 | +# Set properties for C++ files:  | 
 | 78 | +[*.{cpp,cpp.txt}]  | 
 | 79 | +indent_style = tab  | 
 | 80 | + | 
 | 81 | +# Set properties for C++ header files:  | 
 | 82 | +[*.{hpp,hpp.txt}]  | 
 | 83 | +indent_style = tab  | 
 | 84 | + | 
 | 85 | +# Set properties for Fortran files:  | 
 | 86 | +[*.{f,f.txt}]  | 
 | 87 | +indent_style = space  | 
 | 88 | +indent_size = 2  | 
 | 89 | + | 
 | 90 | +# Set properties for shell files:  | 
 | 91 | +[*.{sh,sh.txt}]  | 
 | 92 | +indent_style = tab  | 
 | 93 | + | 
 | 94 | +# Set properties for AWK files:  | 
 | 95 | +[*.{awk,awk.txt}]  | 
 | 96 | +indent_style = tab  | 
 | 97 | + | 
 | 98 | +# Set properties for HTML files:  | 
 | 99 | +[*.{html,html.txt}]  | 
 | 100 | +indent_style = tab  | 
 | 101 | +tab_width = 2  | 
 | 102 | + | 
 | 103 | +# Set properties for XML files:  | 
 | 104 | +[*.{xml,xml.txt}]  | 
 | 105 | +indent_style = tab  | 
 | 106 | +tab_width = 2  | 
 | 107 | + | 
 | 108 | +# Set properties for CSS files:  | 
 | 109 | +[*.{css,css.txt}]  | 
 | 110 | +indent_style = tab  | 
 | 111 | + | 
 | 112 | +# Set properties for Makefiles:  | 
 | 113 | +[Makefile]  | 
 | 114 | +indent_style = tab  | 
 | 115 | + | 
 | 116 | +[*.{mk,mk.txt}]  | 
 | 117 | +indent_style = tab  | 
 | 118 | + | 
 | 119 | +# Set properties for Markdown files:  | 
 | 120 | +[*.{md,md.txt}]  | 
 | 121 | +indent_style = space  | 
 | 122 | +indent_size = 4  | 
 | 123 | +trim_trailing_whitespace = true # Note: this disables using two spaces to force a hard line break, which is permitted in Markdown. As we don't typically follow that practice (TMK), we should be safe to automatically trim.  | 
 | 124 | +
  | 
 | 125 | +# Set properties for `usage.txt` files:  | 
 | 126 | +[usage.txt]  | 
 | 127 | +indent_style = space  | 
 | 128 | +indent_size = 2  | 
 | 129 | +
  | 
 | 130 | +# Set properties for `repl.txt` files:  | 
 | 131 | +[repl.txt]  | 
 | 132 | +indent_style = space  | 
 | 133 | +indent_size = 4  | 
 | 134 | +
  | 
 | 135 | +# Set properties for `package.json` files:  | 
 | 136 | +[package.{json,json.txt}]  | 
 | 137 | +indent_style = space  | 
 | 138 | +indent_size = 2  | 
 | 139 | +
  | 
 | 140 | +# Set properties for `datapackage.json` files:  | 
 | 141 | +[datapackage.json]  | 
 | 142 | +indent_style = space  | 
 | 143 | +indent_size = 2  | 
 | 144 | +
  | 
 | 145 | +# Set properties for `manifest.json` files:  | 
 | 146 | +[manifest.json]  | 
 | 147 | +indent_style = space  | 
 | 148 | +indent_size = 2  | 
 | 149 | +
  | 
 | 150 | +# Set properties for `tsconfig.json` files:  | 
 | 151 | +[tsconfig.json]  | 
 | 152 | +indent_style = space  | 
 | 153 | +indent_size = 2  | 
 | 154 | +
  | 
 | 155 | +# Set properties for LaTeX files:  | 
 | 156 | +[*.{tex,tex.txt}]  | 
 | 157 | +indent_style = tab  | 
 | 158 | +
  | 
 | 159 | +# Set properties for LaTeX Bibliography files:  | 
 | 160 | +[*.{bib,bib.txt}]  | 
 | 161 | +indent_style = tab  | 
 | 162 | +
  | 
 | 163 | +# Set properties for YAML files:  | 
 | 164 | +[*.{yml,yml.txt}]  | 
 | 165 | +indent_style = space  | 
 | 166 | +indent_size = 2  | 
 | 167 | +
  | 
 | 168 | +# Set properties for GYP files:  | 
 | 169 | +[binding.gyp]  | 
 | 170 | +indent_style = space  | 
 | 171 | +indent_size = 2  | 
 | 172 | +
  | 
 | 173 | +[*.gypi]  | 
 | 174 | +indent_style = space  | 
 | 175 | +indent_size = 2  | 
 | 176 | +
  | 
 | 177 | +# Set properties for citation files:  | 
 | 178 | +[*.{cff,cff.txt}]  | 
 | 179 | +indent_style = space  | 
 | 180 | +indent_size = 2  | 
0 commit comments