Commit Graph

7 Commits

Author SHA1 Message Date
Anders Kaseorg 0a08fdd072 .editorconfig: Fix invalid brace patterns.
editorconfig does not support brace patterns with only one
alternative.

Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-07-03 14:40:56 -07:00
Marco Burstein ae5496020b docs: Add ".ts" support in docs and configuration.
Add references to TypeScript in documentation where appropriate, such
as in example bash commands and discussions of the file structure.
Add a new section to the Reading List with TypeScript resources.
Also update `.editorconfig` to support ".ts" files.

Fix part of #12000.
2019-04-12 11:26:17 -07:00
Yago González c7a97e34fb editorconfig: Declare max line lengths for JS/Python code.
110 is what we enforce in Python code via our existing lint rules, and
120 is what we'd most realistically move the JS codebase to next.

Make supported IDEs and text editors keep a maximum line length of 110
characters for most code files.
2018-08-08 09:48:17 -07:00
neiljp (Neil Pilgrim) 2fc0272a5d Editing (minor): Add .pyi to .editorconfig. 2017-12-18 07:35:58 -05:00
Diego Berrocal b059f4202c Remove spaces between file types in editorconfig list.
This makes some editorconfig plugins not work. (At least the Emacs one
wasn't working).
2017-04-17 10:04:17 -07:00
Tommy Ip b0b0c885a6 Update .editorconfig to use 4 spaces for handlebars/html. 2017-01-06 09:31:01 -08:00
Bojidar Marinov ffabf5fc49 Add .editorconfig for most file extensions with more than one use.
I didn't add anything about the following extensions since they had
way too many different styles:

- .txt
- .conf
- .erb (saw tab, 2-spaced, 4-spaced and 8-spaced files around the codebase)

Fixes #3099.
2017-01-04 15:15:31 -08:00