Skip to content

Commit f74b286

Browse files
committed
eslint rules in package
1 parent 4efb260 commit f74b286

2 files changed

Lines changed: 19 additions & 25 deletions

File tree

.github/linters/eslint.config.mjs

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

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)