@sun-asterisk/sunlint 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -745,7 +745,7 @@
|
|
|
745
745
|
}
|
|
746
746
|
},
|
|
747
747
|
"metadata": {
|
|
748
|
-
"version": "1.1.
|
|
748
|
+
"version": "1.1.5",
|
|
749
749
|
"lastUpdated": "2025-07-24",
|
|
750
750
|
"totalRules": 44,
|
|
751
751
|
"qualityRules": 33,
|
|
@@ -755,10 +755,11 @@
|
|
|
755
755
|
"supportedLanguages": 4,
|
|
756
756
|
"features": [
|
|
757
757
|
"Security rules integration",
|
|
758
|
-
"Category-based rule filtering",
|
|
758
|
+
"Category-based rule filtering",
|
|
759
759
|
"Dynamic rule configuration",
|
|
760
|
-
"ESLint integration
|
|
761
|
-
"React rules integration"
|
|
760
|
+
"ESLint 9.x integration",
|
|
761
|
+
"React rules integration",
|
|
762
|
+
"Memory leak fixes"
|
|
762
763
|
]
|
|
763
764
|
}
|
|
764
765
|
}
|
package/engines/eslint-engine.js
CHANGED
|
@@ -71,7 +71,7 @@ class ESLintEngine extends AnalysisEngineInterface {
|
|
|
71
71
|
|
|
72
72
|
// Initialize ESLint with base configuration (v9+ compatible)
|
|
73
73
|
this.eslint = new ESLint({
|
|
74
|
-
overrideConfigFile:
|
|
74
|
+
overrideConfigFile: null, // ESLint 9.x requires null instead of true
|
|
75
75
|
overrideConfig: this.createBaseConfig(),
|
|
76
76
|
fix: config?.fix || false,
|
|
77
77
|
cache: config?.cache || false,
|
|
@@ -339,7 +339,7 @@ class ESLintEngine extends AnalysisEngineInterface {
|
|
|
339
339
|
// Reconfigure ESLint with analysis-specific rules (v9+ compatible)
|
|
340
340
|
const { ESLint } = await this.loadESLint();
|
|
341
341
|
const eslintInstance = new ESLint({
|
|
342
|
-
overrideConfigFile:
|
|
342
|
+
overrideConfigFile: null,
|
|
343
343
|
overrideConfig: {
|
|
344
344
|
...this.createBaseConfig(),
|
|
345
345
|
...eslintConfig
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sun-asterisk/sunlint",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5",
|
|
4
4
|
"description": "☀️ SunLint - Multi-language static analysis tool for code quality and security | Sun* Engineering Standards",
|
|
5
5
|
"main": "cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -86,15 +86,15 @@
|
|
|
86
86
|
"node": ">=18.18.0"
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@babel/parser": "^7.
|
|
90
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
91
|
-
"@typescript-eslint/parser": "^
|
|
89
|
+
"@babel/parser": "^7.25.8",
|
|
90
|
+
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
91
|
+
"@typescript-eslint/parser": "^8.38.0",
|
|
92
92
|
"chalk": "^4.1.2",
|
|
93
93
|
"commander": "^12.1.0",
|
|
94
|
-
"eslint": "^
|
|
94
|
+
"eslint": "^9.31.0",
|
|
95
95
|
"eslint-plugin-react": "^7.37.5",
|
|
96
96
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
97
|
-
"espree": "^
|
|
97
|
+
"espree": "^10.3.0",
|
|
98
98
|
"minimatch": "^10.0.3",
|
|
99
99
|
"node-fetch": "^3.3.2",
|
|
100
100
|
"table": "^6.8.2"
|
|
@@ -124,12 +124,8 @@
|
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@types/node": "^22.10.1",
|
|
127
|
-
"@typescript-eslint/eslint-plugin": "^8.38.0",
|
|
128
|
-
"@typescript-eslint/parser": "^8.38.0",
|
|
129
|
-
"eslint": "^9.31.0",
|
|
130
127
|
"glob": "^11.0.3",
|
|
131
|
-
"jest": "^29.7.0"
|
|
132
|
-
"typescript": "^5.7.2"
|
|
128
|
+
"jest": "^29.7.0"
|
|
133
129
|
},
|
|
134
130
|
"bugs": {
|
|
135
131
|
"url": "https://github.com/sun-asterisk/engineer-excellence/issues"
|