Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert 5646 ungenerate jest snapshots #33

Open
wants to merge 1,305 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1305 commits
Select commit Hold shift + click to select a range
35b5667
Switch C# grammar to official dotnet repo (#5287)
am11 Mar 26, 2021
d23d40f
Update tests for latest mini_mime update (#5289)
lildude Mar 26, 2021
cfafb37
Fix broken references to generated filetypes list (#5290)
Alhadis Mar 26, 2021
736df2b
Add support for Extensible Metadata Platform files (#5296)
Alhadis Mar 29, 2021
a3de9b8
Add Wolfram Language as alias for Mathematica (#5232)
gwpantazes Mar 31, 2021
cc27d9e
Remove all references to "searchable" (#5304)
lildude Apr 1, 2021
8b1f601
Add support for the BASIC family of programming languages (#5166)
telnet23 Apr 6, 2021
9f717cc
update nim grammar to support the new number literals (#5306)
timotheecour Apr 6, 2021
79b3da8
Fix Nixinova submodule issues (#5292)
am11 Apr 6, 2021
e6508d2
Linguist support for Bicep (#5307)
anthony-c-martin Apr 8, 2021
5b74a63
Added FreeBasic language (#4998)
XusinboyBekchanov Apr 8, 2021
95636e4
Release v7.14.0 (#5305)
lildude Apr 12, 2021
aad49ac
Add rs alias for Rust (#5321)
wooster0 Apr 13, 2021
8822b68
Add Android Interface Definition Language. (#5325)
qwandor Apr 16, 2021
cb6e6b6
Add support for the CUE language & Cue Sheet (#5312)
zchee Apr 16, 2021
e6860ab
Rename MediaWiki to Wikitext (#5295)
Nixinova Apr 16, 2021
9350838
Replace syntax highlighting grammar for protobuf (#5336)
longkai Apr 23, 2021
32ec19c
Add SELinux Kernel Policy Language and Common Intermediate Language (…
qwandor Apr 23, 2021
7a26b46
Change Vue's language color (#5344)
wenfangdu May 6, 2021
8011321
nim: update grammar url (#5339)
timotheecour May 6, 2021
bf21354
Classify .h files as C by default (#5357)
lildude May 14, 2021
ff3246b
Add Android.bp file language for Soong (#5361)
qwandor May 14, 2021
19b3a9b
Add support for TextMate property files (#5364)
Alhadis May 15, 2021
881c9f9
Add imgbotconfig to JSON filenames (#5375)
Nixinova May 24, 2021
8af595c
Add color for LilyPond (#5369)
nwhetsell May 24, 2021
fbb9e09
Add @microsoft/api-extractor.json file to JSONC (#5374)
itsjamie May 24, 2021
614cef6
Add Valve Data Format language (#5330)
Nixinova May 24, 2021
83039fc
refactoring linguist for increasing code re-usability in projectionis…
anuragc617 May 26, 2021
16329f4
Add support for Fluent, disambiguate from FreeMarker (#5341)
alerque May 26, 2021
19f1dcd
D.R.Y up Vim modeline expression (#5365)
Alhadis May 26, 2021
1ad2f29
Improve the Kotlin language color + match modern branding (#5383)
ZacSweers May 27, 2021
f1591a9
Add PEG.js language (#5376)
Nixinova May 28, 2021
deaa624
Add colours for Awk and regular expression source (#5392)
Alhadis May 28, 2021
757b173
Release v7.15.0 (#5389)
lildude May 28, 2021
4184bbf
Add `.javascript` file extension (#5414)
Nixinova Jun 14, 2021
808087b
Add ECL grammar (#5424)
GordonSmith Jun 24, 2021
f0e4cd3
Move and rename C++ sample (#5427)
lildude Jun 24, 2021
16c70ae
Fix incorrect capitalisation in `.properties` heuristic (#5434)
Nixinova Jun 24, 2021
4d50ac0
Rename language entry for e-mail files (#5437)
Alhadis Jul 10, 2021
0c7f82f
Improve override examples (#5440)
flack Jul 11, 2021
9b8670e
Lock docker version and require set (#5453)
lildude Jul 11, 2021
a11c555
Update Hy language grammar (#5425)
tshakalekholoane Jul 11, 2021
2f322a9
Add Fennel (#5441)
p00f Jul 11, 2021
59186a6
Add JSON color (#5449)
Nixinova Jul 12, 2021
9798841
Add ".jav" to list of Java extensions (#5397)
bl-ue Jul 12, 2021
a502ae0
Small fixes to github-linguist command line tool when used in single …
mithro Jul 14, 2021
de19dc1
Improve parser for env command's args in shebang (#5461)
eggplants Jul 14, 2021
bc1c128
docs: fix wrong doc link (#5471)
shallowclouds Jul 19, 2021
e4aec15
Update Swift color to match the official Swift logo (#5405)
eneko Jul 19, 2021
617fa48
Add Pascal heuristic for .inc extension (#5143)
smola Jul 19, 2021
ec1b829
Add support for Kakoune Script (#5058)
lenormf Jul 19, 2021
a405eca
Add Astro language (#5460)
Nixinova Jul 19, 2021
709cf15
Handle full and symlink paths to indiv files (#5473)
lildude Jul 19, 2021
b980593
Add filesize metrics to `github-linguist` output (#5464)
walterg2 Jul 19, 2021
1ccad01
Separate Cython from Python (#5462)
cvanelteren Jul 21, 2021
c492ac0
update_groovy_color (#5418)
yogurtearl Jul 23, 2021
a3a3b8b
Add colours to many languages (#5476)
Nixinova Jul 26, 2021
88b86fa
Replace Boo grammar (#5484)
lildude Jul 27, 2021
ca8b002
Improve SourcePawn heuristics (#5479)
rtldg Jul 27, 2021
02f3f0e
Release v7.16.0 (#5489)
lildude Jul 29, 2021
493007b
Treat grammar warnings as non-fatal (#5497)
lildude Aug 3, 2021
7fc6458
Add three JSON filenames (#5496)
Nixinova Aug 4, 2021
fec30b0
Set ECL tm_scope (#5500)
lildude Aug 4, 2021
a47f451
Update expected error count
lildude Aug 4, 2021
99aa879
v7.16.1
lildude Aug 4, 2021
a73e364
Revert "v7.16.1"
lildude Aug 4, 2021
3f68b7b
Revert "Update expected error count"
lildude Aug 4, 2021
cdf42b1
Release v7.16.1 (#5501)
lildude Aug 4, 2021
7efa7b3
Remove stalebot config (#5502)
lildude Aug 7, 2021
dc577fe
Capitalize Vim Script (#5532)
kidonng Aug 26, 2021
7a502b6
Support `.makefile` extension (#5526)
Nixinova Aug 26, 2021
0de87d8
Add `.tcl.in` file extension (#5517)
xdelaruelle Aug 26, 2021
69ef6a1
Add `.markdownlintignore` to Ignore List filenames (#5514)
Nixinova Aug 26, 2021
4fc6808
Add typical Gitpod custom Dockerfile name (#5506)
i-ky Aug 26, 2021
9ce3a87
Add JAR Manifest file (#5505)
Nixinova Aug 26, 2021
bc04fea
Register `.hta` as an HTML extension (#5533)
Alhadis Aug 26, 2021
8b3c18c
Rewrite `script/add-grammar` as a plain shell-script (#5521)
Alhadis Sep 2, 2021
13adea7
Switch out JSON highlighter (#5507)
Nixinova Sep 2, 2021
0fca6f4
Add support for Go Module and Go Checksum files (#5504)
Nixinova Sep 2, 2021
ce40129
Change YARA grammar (#5551)
wesinator Sep 6, 2021
e4599a9
Fix links in `troubleshooting.md` (#5550)
hornc Sep 6, 2021
4683a06
Fix Squirrel language's `tm_scope` (#5556)
Alhadis Sep 7, 2021
f7b64b5
Fix typo/error in CONTRIBUTING.md (#5559)
Astroide Sep 7, 2021
455c340
Use OpenSSL instead of LibreSSL in Dockerfile (#5560)
lildude Sep 8, 2021
bc56fd0
Only run CI on master or PRs branched from master (#5561)
lildude Sep 8, 2021
971e152
Add support for Jest Snapshots (#5567)
Nixinova Sep 13, 2021
0f7b414
Include Containerfile equivalency (#5588)
cevich Oct 14, 2021
4ce6df6
Add support for `CITATION` manifests (#5577)
ziemek99 Oct 14, 2021
f099acd
Update vendor username for the Hy language grammar (#5603)
Oct 19, 2021
eba1afd
(GLSL): Add common raytrace shader extensions (#5566)
spnda Oct 19, 2021
50d3abb
Release v7.17.0 (#5604)
lildude Oct 19, 2021
e2f638d
Document the tree-sitter grammars used on GitHub (#5605)
lildude Oct 23, 2021
5382a97
Update Astro repo url (#5658)
FredKSchott Nov 25, 2021
68631fb
Stop flagging Jest snapshots as generated files (#5646)
Alhadis Nov 25, 2021
7c5e732
Add detection of generated IntelliJ files (#5617)
shalvah Nov 25, 2021
5915555
Added EJS template file extension (#5591)
V3lop5 Nov 25, 2021
3f1747d
Add Motoko. (#5611)
q-uint Nov 25, 2021
fd87d80
Add `.hzp` as an XML extension (#5626)
MatthewSabre Nov 25, 2021
5cf7ab4
Add support for Promela (#5659)
ishowta Nov 29, 2021
0669b8f
Adding Earthly language (#5613)
mccartney Nov 29, 2021
bf656d4
Update the VBDotNetSyntax grammar URL (#5664)
lildude Nov 30, 2021
0304edc
Add `.vimrc` to supported Vim Script extensions (#5666)
Alhadis Nov 30, 2021
0afc750
Add support for ShellCheck configuration files (#5667)
Alhadis Dec 5, 2021
807be51
Update PHP highlighting (#5677)
ondrejmirtes Dec 8, 2021
48b3001
Add `.flake8` as INI file (#5669)
spenserblack Dec 8, 2021
4d544f6
Added C++ module interface .ixx extension (#5680)
Tyyppi77 Dec 8, 2021
79c1166
Add `.html.heex` extension to `HTML+EEX` language (#5671)
nallwhy Dec 10, 2021
9864320
Ignore Terraform lock files (#5610)
nyurik Dec 13, 2021
7e7100c
Add kshrc to Shell (#5685)
eigilhs Dec 13, 2021
639ab38
Clarify detectability (#5589)
bendyarm Dec 13, 2021
80f3531
Release 7.18.0 (#5686)
lildude Dec 15, 2021
73e2d73
Slightly adjust bootstrap regex (#5745)
colinwm Jan 24, 2022
4b3409a
Bump gopkg.in/yaml.v2 from 2.2.3 to 2.2.8 in /tools/grammars (#5755)
dependabot[bot] Feb 2, 2022
069d07d
Highlight .gitattributes file should be committed (#5670)
ekroon Feb 8, 2022
a52ce6b
Update Docker installation instructions for macOS (#5725)
blockarchitech Feb 8, 2022
248ecb2
Add support for Janet (#4674)
bakpakin Feb 9, 2022
7ee1ac6
Add the Curry programming language (#5111)
fwcd Feb 9, 2022
bbfc343
Add RPGLE language (#5240)
barrettotte Feb 9, 2022
9df3aa1
Add Mint (#5402)
bbugh Feb 9, 2022
977f3d3
Add the Gleam programming language (#5688)
lpil Feb 9, 2022
80ce80b
Add Protocol Buffer text format (#5716)
hickford Feb 9, 2022
01e6c08
Add Earthfile alias to Earthly (#5721)
alexcb Feb 9, 2022
e195fd3
Change Yarn PnP regex to include all `.pnp.*` files (#5731)
brc-dd Feb 9, 2022
2aee6a1
Detect protocol buffer files generated by go-to-protobuf (#5759)
tklauser Feb 9, 2022
c5c0a4d
Add Clarity support (#5665)
agraebe Feb 9, 2022
c90e238
Add Procfile language (#5760)
Nixinova Feb 9, 2022
95c2572
Declare program version for `OptionParser` (#5766)
Alhadis Feb 9, 2022
d021453
Add support for systemd(1) configuration files (#5768)
Alhadis Feb 9, 2022
d420091
Update the Liquid Grammar to the Shopify-supported one. (#5761)
charlespwd Feb 9, 2022
7c3a9aa
Add `.zsh-theme` to supported Shell extensions (#5708)
fawni Feb 9, 2022
ba3451b
Add support for hoon (#5754)
pkova Feb 9, 2022
7469c79
Add GSC (#5634)
Jake-NotTheMuss Feb 10, 2022
e6e0a44
Add `.pbt` as an extension for Protocol Buffer Text (#5771)
Stanzilla Feb 10, 2022
7c0b31d
Add the Witcher Script language (#5770)
abheekda1 Feb 10, 2022
a50a8e8
Add `.vercelignore` Ignore List (#5774)
spenserblack Feb 10, 2022
97fa33e
Add Vyper smart contract langauge (#5778)
davidhq Feb 11, 2022
3d08e73
Fix name of 'Unity3D Asset' in heuristics entry (#5783)
Nixinova Feb 14, 2022
5657cab
Add JSONC extension `.code-snippets` (#5777)
Nixinova Feb 14, 2022
cffd401
Add the 2D Array data type (#5785)
abheekda1 Feb 16, 2022
ba8c9be
Add `less-css` to Less aliases (#5786)
Alhadis Feb 16, 2022
cc8ff9e
Add OpenRA MiniYAML. (#5700)
Mailaender Feb 16, 2022
4c3fb29
Add XML highlighting to `.axaml` (Avalonia XAML) (#5753)
colejohnson66 Feb 16, 2022
61c0835
Add Steepfile as Ruby filename (#5663)
mattt Feb 16, 2022
dea6d47
Add DenizenScript Language Support (#5773)
BreadcrumbIsTaken Feb 17, 2022
02ffab2
Fix note in docs about which types are included (#5795)
Nixinova Feb 20, 2022
410c696
Changed DenizenScript grammar to point to official org (#5796)
BreadcrumbIsTaken Feb 21, 2022
0718213
Add Euphoria language (#5241)
ghaberek Feb 21, 2022
4fe16d1
Add support for kvlang (#5788)
Feb 21, 2022
c132e25
Elixir and PHP now use Treesitter grammars (#5797)
lildude Feb 21, 2022
97bc889
Release v7.19.0 (#5798)
lildude Feb 21, 2022
6b02d3b
Add Cairo language support (#5751)
0xChqrles Feb 23, 2022
3c3b037
Exclude compiled extension from gem (#5818)
lildude Mar 4, 2022
c595774
Add `.qmd` to RMarkdown extensions (#5518)
jjallaire Mar 24, 2022
bd944c3
Add Monkey C and Win32 Message File languages (#5776)
Nixinova Mar 24, 2022
adc5319
Add Support for Genero Business Development Language (#5030)
alienriver49 Mar 24, 2022
34f5c1e
Change Vala's color to match the logo color (#5711)
Marki2019 Mar 24, 2022
ba64511
Update repository link used for Stan language (#5816)
WardBrian Mar 24, 2022
d9dae1e
Add support for Unity extensions (#5832)
duckdoom4 Mar 24, 2022
a0bd9c4
Register `.url` as a generic INI extension (#5837)
Alhadis Mar 28, 2022
60eae15
Added Berry Language (#5695)
Beormund Mar 28, 2022
fc38a4f
Updated Astro grammar source (#5819)
JuanM04 Mar 28, 2022
3b17342
A Cadence language (#5839)
srinjoyc Mar 28, 2022
162d9e8
Remove references to Lightshow (#5845)
lildude Mar 30, 2022
61dede1
Added suport for Talon files (#5810)
Nova38 Mar 31, 2022
323ec12
Add LigoLANG (#5811)
pewulfman Mar 31, 2022
42e11bc
Replace Cobol grammar (#5846)
lildude Apr 1, 2022
4ffcdbc
Release v7.20.0 (#5848)
lildude Apr 4, 2022
c497388
Add .devcontainer.json to JSONC list (#5853)
greggroth Apr 22, 2022
3741284
Fix docker test (#5873)
lildude Apr 26, 2022
01cda72
Add LabVIEW .lvclass extension (#5872)
plasmapper Apr 26, 2022
cbb23ae
Add Yul smart contract language (#5861)
davidhq Apr 26, 2022
45dbcca
Replace all `git.io` links with their actual URLs (#5880)
SukkaW Apr 27, 2022
cddf747
Revert removal of `git.io` links
Alhadis Apr 28, 2022
b2a1105
Mark .github as vendored (#5889)
daenney May 25, 2022
6c20d09
Add github-actions to the dependabot config (#5894)
naveensrinivasan May 25, 2022
d3ed26c
Bump actions/checkout from 1 to 3 (#5911)
dependabot[bot] May 25, 2022
dd0258d
Add INI filenames coveragerc & pylintrc (#5896)
wxh06 May 25, 2022
879db1f
Add Whiley (#5879)
DavePearce May 25, 2022
3d33ab3
Add JetBrains MPS (#5871)
alexanderpann May 25, 2022
124e6b3
Perform full depth checkout in CI (#5912)
lildude May 25, 2022
7503f75
Add .livemd extension to Markdown language (#5672)
nallwhy May 25, 2022
6f5200e
Update ci.yml
lildude May 25, 2022
5ece44e
Revert "Update ci.yml" (#5913)
lildude May 25, 2022
badcd66
Revert "Add github-actions to the dependabot config" (#5915)
lildude May 25, 2022
e56d5e3
Add new KiCad Schematic file extension (#5764)
gleich May 25, 2022
4a3b6cb
Add the .fsti file extension for FStar (#5851)
nikswamy May 26, 2022
426f4f5
Add CAP CDS language (#5852)
manwithafox May 26, 2022
020465c
Add Portugol language (#5835)
luisgbr1el May 26, 2022
0e98957
Add JSON aliases for geoJSON, topoJSON, and JSONL (#5917)
Alhadis May 26, 2022
a0cb539
Replace SubRip Text and WebVTT grammars (#5916)
Alhadis May 26, 2022
3d6b57d
Add STAR language and .star file extension for Starlark (#4840)
mcuadros May 26, 2022
7f56617
Add STL support and enable STAR highlighting (#5924)
Alhadis May 30, 2022
bee280e
Update TypeScript color to match official branding (#5930)
RyanCavanaugh Jun 7, 2022
740af1c
Add "gas", "gnu asm", and "unix asm" aliases to Unix Assembly (#5923)
Frityet Jun 7, 2022
957f6ed
Add support for Git Revision List files (#5903)
Nixinova Jun 7, 2022
5467222
Add Statamic's Antlers template language (#5860)
jasonvarga Jun 7, 2022
a665b5f
Add `mts` and `cts` TypeScript extensions (#5905)
nicolo-ribaudo Jun 7, 2022
b797af7
Add Mule language (#5925)
mdaloia Jun 7, 2022
2e1c938
Add Bikeshed & Brighterscript (#5643)
paulo-santos-sky Jun 7, 2022
c70d6ce
Add 4DProject and 4DForm extensions to JSON (#4802)
vdelachaux Jun 8, 2022
8cc00dd
Add Gleam, Java and TLA to list of treesitter grammars (#5932)
lildude Jun 8, 2022
3ccee19
Add .bb file extension for Babashka to Clojure (#5931)
not-in-stock Jun 8, 2022
9703d62
Add support for checksum lists (#5138)
theonlypwner Jun 8, 2022
dd21bbb
Revert "Add Mule language" (#5936)
lildude Jun 9, 2022
d7799da
Release v7.21.0 (#5934)
lildude Jun 9, 2022
6a3bd9f
Improve heuristic for C# (#5939)
TheodoreSnoozevelt Jun 27, 2022
2f1265c
Add Wren (#5886)
whmsft Jun 28, 2022
e1a4148
Add support for Nasal (#5134)
NikolaiVChr Jun 28, 2022
513bf66
Add Move language (#5955)
uvd Jun 30, 2022
f3da780
Replace Nix grammar (#5953)
Jun 30, 2022
1cfa8ec
Add RouterOS Script (#5945)
zachstence Jun 30, 2022
212946f
Add Velocity Template Language support (#4937)
PieterO Jul 1, 2022
6cf57c8
Add .qhelp to XML (#5958)
lildude Jul 11, 2022
1541433
Change grammar source for Svelte (#5963)
3ventic Jul 11, 2022
36d6903
Change Inform7 grammar source (#5960)
erkyrath Jul 11, 2022
29c294a
Add build-essential to list of Ubuntu required packages (#5971)
lildude Jul 11, 2022
78bc121
Less greedy tokenization, fixes segfault (#5969)
smola Jul 13, 2022
4365b63
Improve bootstrap vendoring regex (#5957)
lildude Jul 13, 2022
4edec06
Replace escape_utils with cgi (#5949)
sunpoet Jul 13, 2022
c0b49c1
Release v7.22.0 (#5972)
lildude Jul 13, 2022
418d904
Rust syntax highlighting is now powered by treesitter (#5973)
lildude Jul 14, 2022
5949263
Add note about GitHub search gaining support for new Languages (#5983)
lildude Jul 20, 2022
1f307eb
Remove language group recursion (#5987)
lildude Jul 22, 2022
249bbd1
Release v7.22.1 (#5988)
lildude Jul 22, 2022
1f65799
Update Ace mode paths for tests (#6002)
lildude Aug 13, 2022
5fb7b70
Limit CI GitHub Workflow access to 'content:read' (#6044)
sashashura Sep 1, 2022
e78ef71
Add support for Adblock filters (#5968)
scripthunter7 Sep 1, 2022
9f282ca
Adjust Go generated detection (#6049)
lildude Sep 2, 2022
7486088
Improve heuristic for IDL with .pro extension (#5974)
smola Sep 2, 2022
6a7a504
Improve C# disambiguation on .cs (#5975)
smola Sep 2, 2022
839c7ca
Disambiguation for scd (SuperCollider, Markdown/scdoc) (#5976)
smola Sep 2, 2022
7b00780
Disambiguate .g (GAP, G-code) (#5977)
smola Sep 2, 2022
6cab9f0
Add Befunge samples and .bf heuristics (#5210)
smola Sep 2, 2022
06a125b
Add support for HOCON (#5989)
LaurenceWarne Sep 2, 2022
1dde1b4
Add support for Elvish (#5940)
xiaq Sep 2, 2022
637e5f4
Change grammar for KQL (Kusto Query Language) (#5996)
ep3p Sep 2, 2022
3850fa0
Replace GraphQL grammar (#6007)
Bamblehorse Sep 2, 2022
e43977c
Add .kql as extension for KQL (Kusto Query Language) (#5995)
ep3p Sep 2, 2022
f8104bc
Fix incorrect Xcode spelling in the README (#6038)
revolter Sep 2, 2022
a6c6e9f
Ungroup SugarSS from CSS (#6041)
kwaa Sep 2, 2022
7855da1
Document the temporary change in language popularity criteria. (#5941)
xiaq Sep 2, 2022
6ede828
Add Gemini language (#6050)
printfn Sep 2, 2022
1fbaa41
Add .tag to Java Server Pages (#6048)
lildude Sep 5, 2022
bf853f1
Release v7.23.0 (#6051)
lildude Sep 5, 2022
f3f2103
Dockerfile Updates (#6066)
jonpulsifer Sep 14, 2022
12cfef6
Add brewfile to bootstrap (#6068)
bval Sep 16, 2022
f3f5de6
Add link to issue #5756 (#6074)
detherminal Sep 20, 2022
4e424ef
Repoint razor-plus grammar submodule at new repo (#6093)
bval Sep 29, 2022
4ea1b93
Accept branch name as argument (#6069)
bval Sep 29, 2022
e9cfd7b
Revert "Stop flagging Jest snapshots as generated files (#5646)"
Paranoid46 Oct 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.git/
test/
29 changes: 29 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{h,c}]
indent_style = tab
indent_size = 8

[{Dockerfile,Makefile,*.go,script/add-grammar}]
indent_style = tab
indent_size = 4

# Ignore fixtures and vendored files
[{grammars,test/fixtures,samples,vendor}/**]
charset = unset
end_of_line = unset
indent_size = unset
indent_style = unset
insert_final_newline = unset
trim_trailing_spaces = unset
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# All pull requests need to be reviewed by someone from GitHub.
# @github/linguist is a GitHub maintained team.
#
* @github/linguist
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Found a bug? Let us know. Please start with **Discussions** if your issue is regarding unexpected language analysis or statistics.
title: ''
labels: Bug
assignees: ''
---
<!--
NOTE: Please use Discussions for all incorrect or unexpected language analysis or
statistics behaviour BEFORE opening a bug.

If you know how to fix this bug, please feel free to submit a Pull Request
with your fix; we don't need an issue first.
-->

## Describe the bug
<!--
Please provide a clear and detailed explanation of the bug you've found, and why
you consider it to be a bug.

Ideally, please provide steps to reproduce the bug and include the output from
using `github-linguist` on the command line.
-->

### Expected behaviour
<!-- What was it you expected to see? Be detailed and specific. -->

### Related discussion
<!-- Include links to related discussion threads, if any. -->

### Additional notes
<!-- Add any remaining details here; e.g., context, @‌mentions, external links, etc -->
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Get help in GitHub Discussions
url: https://github.com/github/linguist/discussions
about: Have a question? Surprised by your repository language analysis? The quickest way to get help is on Linguist's GitHub Discussions!
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: Suggest an enhancement
title: ''
labels: Improvement
assignees: ''
---

## Describe the enhancement

<!--

Please let us know what enhancement you'd like to see made to Linguist. The more
detail you provide, the better.

-->
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/new_language.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: New language
about: Request support for a new language
title: ''
labels: Add Language, Good First Issue
assignees: ''
---

<!--

👋 If you have the time and know-how, send us a pull-request: everybody is welcome to contribute!
Otherwise, fill out the following fields as best you can.

-->
## Language name


## URL of example repository


## URL of syntax highlighting grammar


## Most popular extensions

<!--

List the extensions commonly used by this language.

-->

## Detected language

<!--

What language are files for this language being identified as, if any?

-->
55 changes: 55 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!--- Briefly describe your changes in the field above. -->

## Description
<!--- If necessary, go into depth of what this pull request is doing. -->

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- Feel free to remove whole sections, not points within the sections, that do not apply -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] **I am associating a language with a new file extension.**
- [ ] The new extension is used in hundreds of repositories on GitHub.com
- Search results for each extension:
<!-- Replace FOOBAR with the new extension, and KEYWORDS with keywords unique to the language. Repeat for each extension added. -->
- https://github.com/search?utf8=%E2%9C%93&type=Code&ref=searchresults&q=extension%3AFOOBAR+KEYWORDS+NOT+nothack
- [ ] I have included a real-world usage sample for all extensions added in this PR:
- Sample source(s):
- [URL to each sample source, if applicable]
- Sample license(s):
- [ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

- [ ] **I am adding a new language.**
- [ ] The extension of the new language is used in hundreds of repositories on GitHub.com.
- Search results for each extension:
<!-- Replace FOOBAR with the new extension, and KEYWORDS with keywords unique to the language. Repeat for each extension added. -->
- https://github.com/search?utf8=%E2%9C%93&type=Code&ref=searchresults&q=extension%3AFOOBAR+KEYWORDS+NOT+nothack
- [ ] I have included a real-world usage sample for all extensions added in this PR:
- Sample source(s):
- [URL to each sample source, if applicable]
- Sample license(s):
- [ ] I have included a syntax highlighting grammar: [URL to grammar repo]
- [ ] I have updated the heuristics to distinguish my language from others using the same extension.

- [ ] **I am fixing a misclassified language**
- [ ] I have included a new sample for the misclassified language:
- Sample source(s):
- [URL to each sample source, if applicable]
- Sample license(s):
- [ ] I have included a change to the heuristics to distinguish my language from others using the same extension.

- [ ] **I am changing the source of a syntax highlighting grammar**
- Old: [URL to grammar repo]
- New: [URL to grammar repo]

- [ ] **I am updating a grammar submodule**
<!-- That's not necessary, grammar submodules are updated automatically with each new release. -->

- [ ] **I am adding new or changing current functionality**
<!-- This includes modifying the vendor, documentation, and generated lists. -->
- [ ] I have added or updated the tests for the new or changed functionality.

- [ ] **I am changing the color associated with a language**
<!-- Please ensure you have gathered agreement from the wider language community _before_ opening this PR -->
- [ ] I have obtained agreement from the wider language community on this color change.
- [URL to public discussion]
- [Optional: URL to official branding guidelines for the language]
7 changes: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: 2
updates:
# Only check for Ruby gem updates
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "daily"
64 changes: 64 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: Run Tests

on:
# Trigger the workflow on push or pull request, but only for the master branch
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: read

jobs:
run:
name: Ruby ${{ matrix.ruby }}
runs-on: ubuntu-latest
strategy:
matrix:
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
steps:
- uses: actions/checkout@v1
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Fetch grammar submodules
run: |
git fetch origin master:master v2.0.0:v2.0.0 test/attributes:test/attributes test/master:test/master
sed -i 's|[email protected]:|https://github.com/|' .gitmodules
git submodule init
git submodule sync --quiet
script/fast-submodule-update
- name: Run tests
run: bundle exec rake
- name: Check Licenses
run: bundle exec licensed status -c vendor/licenses/config.yml
dockerfile:
name: Test Dockerfile
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build container
run: docker build -t linguist .
- name: Analyse current directory
run: docker run --rm -v $(pwd):$(pwd) -w $(pwd) --user $(id -u) -t linguist | tee output
- name: Confirm analysis
run: grep Ruby output
classifier:
name: Classifier cross-validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
bundler-cache: true
- name: Build
run: bundle exec rake samples
- name: Run cross-validation
run: bundle exec script/cross-validation --test 2>&1
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
*.gem
/Gemfile.lock
.bundle/
.idea
benchmark/
lib/linguist/samples.json
/grammars
/node_modules
test/fixtures/ace_modes.json
/vendor/gems/
/tmp
*.bundle
*.so
linguist-grammars*
.venv
Brewfile.lock.json
Loading