Skip to content

Commit 81f4129

Browse files
improve: fix eslint config sourceType, add devDependencies, add node_modules to gitignore (#40)
* improve: fix eslint config sourceType, add devDependencies, add node_modules to gitignore * fix: disable broken release-audit workflow (harness repo missing) by dev-engineer
1 parent ed562e1 commit 81f4129

3 files changed

Lines changed: 56 additions & 54 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,5 @@ Thumbs.db
7171
research/
7272
fixtures/generated/
7373
.ruff_cache/
74+
node_modules/
7475
nul

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default [
66
{
77
languageOptions: {
88
ecmaVersion: 2023,
9-
sourceType: "commonjs",
9+
sourceType: "module",
1010
globals: { ...globals.node },
1111
},
1212
rules: {

package.json

Lines changed: 54 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,55 @@
11
{
2-
"name": "configdrift",
3-
"version": "0.1.0",
4-
"description": "Detect configuration drift across your infrastructure. Monitor and alert on config changes in real-time.",
5-
"author": "Revenue Holdings \u003cengineering@revenueholdings.dev\u003e",
6-
"license": "MIT",
7-
"repository": {
8-
"type": "git",
9-
"url": "https://github.com/Coding-Dev-Tools/configdrift.git"
10-
},
11-
"homepage": "https://github.com/Coding-Dev-Tools/configdrift#readme",
12-
"bugs": {
13-
"url": "https://github.com/Coding-Dev-Tools/configdrift/issues"
14-
},
15-
"bin": {
16-
"configdrift": "cli.js"
17-
},
18-
"keywords": [
19-
"configuration-drift",
20-
"config-management",
21-
"devops",
22-
"infrastructure",
23-
"monitoring",
24-
"drift-detection",
25-
"kubernetes",
26-
"terraform",
27-
"ansible",
28-
"compliance",
29-
"cli",
30-
"site-reliability",
31-
"gitops",
32-
"developer-tools",
33-
"audit"
34-
],
35-
"files": [
36-
"cli.js"
37-
],
38-
"engines": {
39-
"node": "\u003e=16.0.0"
40-
},
41-
"preferGlobal": true,
42-
"publishConfig": {
43-
"access": "public"
44-
},
45-
"scripts": {
46-
"test": "node --test tests/*.test.js",
47-
"lint": "eslint .",
48-
"test:py": "pytest"
49-
},
50-
"devDependencies": {
51-
"@eslint/js": "^9.0.0",
52-
"eslint": "^9.0.0"
53-
}
54-
}
2+
"name": "configdrift",
3+
"version": "0.1.0",
4+
"description": "Detect configuration drift across your infrastructure. Monitor and alert on config changes in real-time.",
5+
"author": "Revenue Holdings <engineering@revenueholdings.dev>",
6+
"license": "MIT",
7+
"repository": {
8+
"type": "git",
9+
"url": "https://github.com/Coding-Dev-Tools/configdrift.git"
10+
},
11+
"homepage": "https://github.com/Coding-Dev-Tools/configdrift#readme",
12+
"bugs": {
13+
"url": "https://github.com/Coding-Dev-Tools/configdrift/issues"
14+
},
15+
"bin": {
16+
"configdrift": "cli.js"
17+
},
18+
"keywords": [
19+
"configuration-drift",
20+
"config-management",
21+
"devops",
22+
"infrastructure",
23+
"monitoring",
24+
"drift-detection",
25+
"kubernetes",
26+
"terraform",
27+
"ansible",
28+
"compliance",
29+
"cli",
30+
"site-reliability",
31+
"gitops",
32+
"developer-tools",
33+
"audit"
34+
],
35+
"files": [
36+
"cli.js"
37+
],
38+
"engines": {
39+
"node": ">=16.0.0"
40+
},
41+
"preferGlobal": true,
42+
"devDependencies": {
43+
"@eslint/js": "^9.0.0",
44+
"eslint": "^9.0.0",
45+
"globals": "^15.0.0"
46+
},
47+
"publishConfig": {
48+
"access": "public"
49+
},
50+
"scripts": {
51+
"test": "node --test tests/*.test.js",
52+
"lint": "eslint .",
53+
"test:py": "pytest"
54+
}
55+
}

0 commit comments

Comments
 (0)