Skip to content

Commit 28cd9c1

Browse files
Merge branch 'main' into dependabot/github_actions/super-linter/super-linter-7.4.0
2 parents 88db8df + f74b286 commit 28cd9c1

3 files changed

Lines changed: 21 additions & 27 deletions

File tree

.github/linters/eslint.config.mjs

Lines changed: 0 additions & 19 deletions
This file was deleted.

infra/dataform-service/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ DECLARE previousMonth_YYYYMM STRING DEFAULT SUBSTR(previousMonth, 1, 6);
1818
WITH crux AS (
1919
SELECT
2020
LOGICAL_AND(total_rows > 0) AS rows_available,
21-
LOGICAL_OR(TIMESTAMP_DIFF(CURRENT_TIMESTAMP(), last_modified_time, HOUR) < 8) AS recent_last_modified
21+
LOGICAL_OR(TIMESTAMP_DIFF(CURRENT_TIMESTAMP(), last_modified_time, HOUR) < 4) AS recent_last_modified
2222
FROM chrome-ux-report.materialized.INFORMATION_SCHEMA.PARTITIONS
2323
WHERE table_name IN ('device_summary', 'country_summary')
2424
AND partition_id IN (previousMonth, previousMonth_YYYYMM)
2525
), report AS (
2626
SELECT MAX(partition_id) = previousMonth AS report_exists
2727
FROM httparchive.reports.INFORMATION_SCHEMA.PARTITIONS
28-
WHERE table_name = 'tech_report_categories'
28+
WHERE table_name = 'tech_crux'
2929
AND partition_id != '__NULL__'
3030
)
3131

package.json

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"name": "crawl-data",
33
"author": "@max-ostapenko",
4-
"dependencies": {
5-
"@dataform/core": "3.0.25"
6-
},
74
"scripts": {
85
"format": "npx standard --fix; npx markdownlint --ignore-path .gitignore --config package.json --configPointer /markdownlint . --fix; terraform -chdir=infra/tf fmt -recursive",
96
"lint": "npx standard; npx markdownlint --ignore-path .gitignore --config package.json --configPointer /markdownlint .; dataform compile"
107
},
8+
"dependencies": {
9+
"@dataform/core": "3.0.25"
10+
},
11+
"devDependencies": {
12+
"markdownlint-cli": "0.45.0",
13+
"standard": "17.1.2"
14+
},
1115
"standard": {
1216
"globals": [
1317
"constants",
@@ -19,9 +23,18 @@
1923
"dataform"
2024
]
2125
},
22-
"devDependencies": {
23-
"markdownlint-cli": "0.45.0",
24-
"standard": "17.1.2"
26+
"eslintConfig": {
27+
"env": {
28+
"node": true
29+
},
30+
"globals": {
31+
"dataform": "readonly",
32+
"constants": "readonly",
33+
"declare": "readonly",
34+
"assert": "readonly",
35+
"publish": "readonly",
36+
"ctx": "readonly"
37+
}
2538
},
2639
"markdownlint": {
2740
"default": true,

0 commit comments

Comments
 (0)