Skip to content

Commit 772002b

Browse files
authored
Merge branch 'main' into add-vespa-schema-definition
2 parents bad2b9d + f6975da commit 772002b

16 files changed

Lines changed: 562 additions & 0 deletions

File tree

lib/linguist/heuristics.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,11 @@ disambiguations:
301301
pattern: '^\s*(?:%%|main\s*\(.*?\)\s*->)'
302302
- language: JavaScript
303303
pattern: '\/\/|["'']use strict["'']|export\s+default\s|\/\*(?:.|[\r\n])*?\*\/'
304+
- extensions: ['.eslintrc']
305+
rules:
306+
- language: YAML
307+
named_pattern: yaml
308+
- language: JSON with Comments
304309
- extensions: ['.ex']
305310
rules:
306311
- language: Elixir
@@ -800,6 +805,11 @@ disambiguations:
800805
pattern:
801806
- '^\s*#(?:(?:if|ifdef|define|pragma)\s+\w|\s*include\s+<[^>]+>)'
802807
- '^\s*template\s*<'
808+
- extensions: ['.releaserc']
809+
rules:
810+
- language: YAML
811+
named_pattern: yaml
812+
- language: JSON
803813
- extensions: ['.res']
804814
rules:
805815
- language: ReScript
@@ -1209,3 +1219,4 @@ named_patterns:
12091219
# Excel objects
12101220
- '\b(?:(?:This|Active)?Workbooks?|Worksheets?|Active(?:Sheet|Chart|Cell)|WorksheetFunction)\b'
12111221
- '\b(?:Range\(".*|Cells\([0-9a-zA-Z_]*, (?:[0-9a-zA-Z_]*|"[a-zA-Z]{1,3}"))\)'
1222+
yaml: '^[ \t]*(?:#|(?:[^/"\s:{}\[\]]|\/[^/*:\n])[^:\n]*:)'

lib/linguist/languages.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,6 +1393,7 @@ CoffeeScript:
13931393
- "._coffee"
13941394
- ".cake"
13951395
- ".cjsx"
1396+
- ".coffee.erb"
13961397
- ".iced"
13971398
filenames:
13981399
- Cakefile
@@ -2699,6 +2700,7 @@ Git Commit:
26992700
aliases:
27002701
- commit
27012702
filenames:
2703+
- ".gitmessage"
27022704
- COMMIT_EDITMSG
27032705
ace_mode: text
27042706
tm_scope: text.git-commit
@@ -3381,6 +3383,7 @@ INI:
33813383
- ".buckconfig"
33823384
- ".coveragerc"
33833385
- ".flake8"
3386+
- ".gitreview"
33843387
- ".pylintrc"
33853388
- HOSTS
33863389
- buildozer.spec
@@ -3437,6 +3440,7 @@ Ignore List:
34373440
extensions:
34383441
- ".gitignore"
34393442
filenames:
3443+
- ".agignore"
34403444
- ".atomignore"
34413445
- ".babelignore"
34423446
- ".bzrignore"
@@ -3652,6 +3656,7 @@ JSON:
36523656
- ".htmlhintrc"
36533657
- ".imgbotconfig"
36543658
- ".nycrc"
3659+
- ".releaserc"
36553660
- ".secrets.baseline"
36563661
- ".tern-config"
36573662
- ".tern-project"
@@ -3698,6 +3703,7 @@ JSON with Comments:
36983703
filenames:
36993704
- ".babelrc"
37003705
- ".devcontainer.json"
3706+
- ".eslintrc"
37013707
- ".eslintrc.json"
37023708
- ".jscsrc"
37033709
- ".jshintrc"
@@ -6479,8 +6485,11 @@ R:
64796485
extensions:
64806486
- ".r"
64816487
- ".rd"
6488+
- ".rhistory"
64826489
- ".rsx"
64836490
filenames:
6491+
- ".Rapp.history"
6492+
- ".Rhistory"
64846493
- ".Rprofile"
64856494
- expr-dist
64866495
interpreters:
@@ -8967,6 +8976,7 @@ XML:
89678976
- ".kml"
89688977
- ".launch"
89698978
- ".mdpolicy"
8979+
- ".meta4"
89708980
- ".mjml"
89718981
- ".mm"
89728982
- ".mod"
@@ -9183,7 +9193,9 @@ YAML:
91839193
- ".clang-format"
91849194
- ".clang-tidy"
91859195
- ".clangd"
9196+
- ".eslintrc"
91869197
- ".gemrc"
9198+
- ".releaserc"
91879199
- CITATION.cff
91889200
- glide.lock
91899201
- pixi.lock
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
@Config =
2+
idleTimeout:
3+
isEnabled: <%= APP_CONFIG['idle_timeout_enabled'] %>
4+
timer: <%= APP_CONFIG['idle_timeout'] %>
5+
# FIXME don't hard-code effective date
6+
effectiveDate: 1356998340
7+
fieldValues: <%= HQMF::DataCriteria::FIELDS.to_json.html_safe %>
8+
ehExclusionType: <%= APP_CONFIG['eh_exclusion_type'].to_json %>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<tag>(<module>): <subject> (Max 72 char, lowercase, no period at end)
2+
# Example:
3+
# feat(core): Implement automated commit messages
4+
5+
# (Optional)
6+
# Commit message should describe motivation. Think about your code
7+
# reviewers and what information they need in order to understand what
8+
# you did. If it's a big commit (hopefully not), try to provide some
9+
# good entry points so it will be easier to follow.
10+
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
11+
12+
# (Optional)
13+
# If not obvious (i.e. from unit tests), describe how you verified that
14+
# your change works.
15+
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
16+
17+
# (Optional)
18+
# BREAKING CHANGE: <what broke and how to achieve this behavior now>
19+
# * **<module-name>:** <Another breaking change>
20+
# * **<module-name>:** <Yet another breaking change>
21+
#
22+
# If this commit includes breaking changes, they must be listed at the
23+
# end in the following format (markdown format):
24+
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->|
25+
26+
# --- COMMIT END ---
27+
# Tag can be
28+
# feat (new feature)
29+
# fix (bug fix)
30+
# refactor (refactoring code)
31+
# chore (updating grunt tasks etc; no production code change)

samples/INI/filenames/.gitreview

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[gerrit]
2+
host=gerrit.wikimedia.org
3+
port=29418
4+
project=mediawiki/libs/node-cssjanus.git
5+
track=1
6+
defaultrebase=0
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
plugins/discourse-math/public/mathjax/*
2+
plugins/docker_manager/assets/docker-manager-app.js
3+
plugins/docker_manager/assets/docker-manager-vendor.js
4+
plugins/etherpad-lite/tests/*
5+
plugins/etherpad-lite/src/*
6+
plugins/etherpad-lite/bin/*
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"root": true,
3+
4+
"extends": "@ljharb",
5+
6+
"ignorePatterns": [
7+
"*.min.js",
8+
"tests/lib/*",
9+
],
10+
11+
"rules": {
12+
"array-bracket-newline": 0,
13+
"object-curly-newline": 0,
14+
"camelcase": [0],
15+
"complexity": [0],
16+
"eqeqeq": [2, "allow-null"],
17+
"func-name-matching": 0,
18+
"id-length": [2, { "min": 1, "max": 40 }],
19+
"indent": [2, 4],
20+
"max-lines": 0,
21+
"max-lines-per-function": 0,
22+
"max-nested-callbacks": [2, 5],
23+
"max-params": [2, 7],
24+
"max-statements": [1, 30],
25+
"new-cap": [2, { "capIsNewExceptions": ["ToInteger", "ToObject", "ToPrimitive", "ToUint32"] }],
26+
"no-constant-condition": [1],
27+
"no-extend-native": [2, {"exceptions": ["Date", "Error", "RegExp"]}],
28+
"no-extra-parens": [0],
29+
"no-extra-semi": [1],
30+
"no-func-assign": [1],
31+
"no-implicit-coercion": [2, {
32+
"boolean": false,
33+
"number": false,
34+
"string": true,
35+
"disallowTemplateShorthand": false,
36+
"allow": []
37+
}],
38+
"no-invalid-this": [0],
39+
"no-magic-numbers": [0],
40+
"no-native-reassign": [2, {"exceptions": ["Date", "parseInt"]}],
41+
"no-new-func": [1],
42+
"no-plusplus": [1],
43+
"no-restricted-syntax": [2, "ContinueStatement", "DebuggerStatement", "LabeledStatement", "WithStatement"],
44+
"no-shadow": [1],
45+
"no-unused-vars": [1, { "vars": "all", "args": "after-used" }],
46+
"operator-linebreak": [2, "before"],
47+
"sort-keys": [0],
48+
"spaced-comment": [0],
49+
"strict": [0],
50+
51+
"multiline-comment-style": 0,
52+
},
53+
54+
"overrides": [
55+
{
56+
"files": "tests/**",
57+
"rules": {
58+
"max-len": 0,
59+
"max-statements-per-line": [2, { "max": 2 }],
60+
},
61+
"env": {
62+
"jasmine": true
63+
},
64+
},
65+
],
66+
}

samples/JSON/filenames/.releaserc

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"tagFormat": "${version}",
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
[
7+
"@semantic-release/changelog",
8+
{
9+
"changelogFile": "CHANGELOG.md"
10+
}
11+
],
12+
"@semantic-release/npm",
13+
[
14+
"@semantic-release/git",
15+
{
16+
"assets": [
17+
"CHANGELOG.md",
18+
"docs",
19+
"package.json",
20+
"yarn.lock"
21+
],
22+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
23+
}
24+
],
25+
"@semantic-release/github"
26+
],
27+
"branches": [
28+
"master",
29+
"next",
30+
{
31+
"name": "alpha",
32+
"prerelease": true
33+
}
34+
]
35+
}

samples/R/filenames/.Rapp.history

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
library(ggplot2)
2+
install.packages(ggplot2)
3+
install.packages("ggplot2", dep=T)
4+
install.packages("ggpubfigs")
5+
library(ggplot2)
6+
library(ggpubfigs)
7+
ggplot(mtcars, aes(carb, fill=cyl)) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
8+
devtools::install_github("JLSteenwyk/ggpubfigs")
9+
devtools::install_github("JLSteenwyk/ggpubfigs", force=TRUE)
10+
library(ggpubfigs)
11+
ggplot(mtcars, aes(carb, fill=cyl)) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
12+
?ggpubfigs
13+
??ggpubfigs
14+
ls("package: ggpubfigs")
15+
ls("package:ggpubfigs")
16+
setwd("Desktop/GITHUB/ggpubfigs/")
17+
devtools::document()
18+
setwd("../../../")
19+
devtools::install_github("JLSteenwyk/ggpubfigs", force=TRUE)
20+
library(ggpubfigs)
21+
ls("package:ggpubfigs")
22+
ggplot(mtcars, aes(carb, fill=cyl)) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
23+
ggplot(mtcars, aes(factor(carb), fill=factor(cyl))) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
24+
head(mtcars)
25+
ggplot(mtcars, aes(carb, fill=factor(cyl))) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
26+
png("Desktop/temp.png")
27+
ggplot(mtcars, aes(carb, fill=factor(cyl))) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
28+
dev.off()
29+
png("Desktop/temp.png", width=1024px, height=512px)
30+
jpg("Desktop/temp.jpg", width=1024px, height=512px)
31+
jpg("Desktop/temp.jpg", width=1024, height=512)
32+
jpeg("Desktop/temp.jpg", width=1024, height=512)
33+
ggplot(mtcars, aes(carb, fill=factor(cyl))) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
34+
dev.off()
35+
jpeg("Desktop/temp.jpg")
36+
ggplot(mtcars, aes(carb, fill=factor(cyl))) + geom_bar() + scale_fill_manual(values = friendly_pal("ito_seven")) + theme_big_simple()
37+
dev.off()

0 commit comments

Comments
 (0)