mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 10:06:17 +08:00
eb94ec16da
The gjs/gts formats are a new pattern for authoring Ember components. This commit introduces support for these patterns to our build pipeline for core/plugins, and converts a handful of components to use the new format. It also introduces relevant updates to our linting config, and to our sample vscode configuration. Co-authored-by: Godfrey Chan <godfreykfc@gmail.com> Co-authored-by: Krystan HuffMenne <kmenne+github@gmail.com>
34 lines
852 B
Plaintext
34 lines
852 B
Plaintext
# Set default behaviour, in case users don't have core.autocrlf set.
|
|
* text=auto
|
|
|
|
# Treat email fixtures as binary files so CRLF are not converted to LF.
|
|
*.eml binary
|
|
|
|
# Explicitly declare text files we want to always be normalized and converted
|
|
# to native line endings on checkout.
|
|
*.yml text
|
|
|
|
# Custom for Visual Studio, very unlikely, but lets keep it
|
|
*.cs diff=csharp
|
|
*.sln merge=union
|
|
*.csproj merge=union
|
|
*.vbproj merge=union
|
|
*.fsproj merge=union
|
|
*.dbproj merge=union
|
|
|
|
# Standard to msysgit
|
|
*.doc diff=astextplain
|
|
*.DOC diff=astextplain
|
|
*.docx diff=astextplain
|
|
*.DOCX diff=astextplain
|
|
*.dot diff=astextplain
|
|
*.DOT diff=astextplain
|
|
*.pdf diff=astextplain
|
|
*.PDF diff=astextplain
|
|
*.rtf diff=astextplain
|
|
*.RTF diff=astextplain
|
|
|
|
# Ember App
|
|
*.gjs linguist-language=js linguist-detectable
|
|
*.gts linguist-language=ts linguist-detectable
|